From: Michael Wallner Date: Tue, 12 Jan 2021 17:23:37 +0000 (+0100) Subject: fix mkargs X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=e337dcd7cdbbd9dd6d720eb4645f9f02a041dafa;p=m6w6%2Fpecl-ci fix mkargs --- diff --git a/Makefile b/Makefile index a87a1c8..8b49d3e 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ mkfile := $(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST)) makdir := $(dir $(mkfile)) ifeq (,$(findstring printenv,$(MAKECMDGOALS))) -mkargs := $(shell $(MAKE) -f $(mkfile) printenv | sed -n -e 's,with_,,gp' -e 's,enable_,,gp' | tr -c '[a-zA-Z_]' -) +mkargs := $(shell $(MAKE) -f $(mkfile) printenv | sed -n -e '/=no$$/ d; s/=yes$$//' -e 's,with_,,gp' -e 's,enable_,,gp' | tr -c '[a-zA-Z_]' -) endif prefix ?= $(TMPDIR)/php-$(PHP)-$(mkargs)