projects
/
m6w6
/
pecl-ci
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
5592d53
)
fix mkargs
author
Michael Wallner
<mike@php.net>
Tue, 12 Jan 2021 17:23:37 +0000
(18:23 +0100)
committer
Michael Wallner
<mike@php.net>
Tue, 12 Jan 2021 17:23:37 +0000
(18:23 +0100)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index a87a1c873d1c118561547d324f58f9a1182374e4..8b49d3e47e760e4f4df935595f0808d71dc3342d 100644
(file)
--- 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)