X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=Makefile;h=0e161c81a93ebb6199aadbe5f8ded9b0cfc91d37;hb=c5cdd896fa0d5a8e68599c63026611a929229c25;hp=28df30942b3fff34ccf63b1a766a8e8d376c894a;hpb=90af692cb807f63c4d4e943ff4699dc9637728fb;p=m6w6%2Ftravis-pecl diff --git a/Makefile b/Makefile index 28df309..0e161c8 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ export PHP ?= 5.6 JOBS ?= 2 -PHP_MIRROR ?= http://us1.php.net/distributions/ +PHP_MIRROR ?= http://us2.php.net/distributions/ TMPDIR ?= /tmp tmpnam := $(TMPDIR)/php-$(PHP)-$(shell env |grep -E '^with_|^enable_' | tr -c '[a-zA-Z_]' -) @@ -42,7 +42,7 @@ PECL_DIR := $(if $(filter ext ext%, $(MAKECMDGOALS)), $(curdir), $(srcdir)/pecl- #PHP_VERSION_MAJOR = $(firstword $(subst ., ,$(PHP))) PHP_RELEASES = $(srcdir)/releases.tsv -PHP_VERSION ?= $(shell test -e $(PHP_RELEASES) && cat $(PHP_RELEASES) | awk -F "\t" '/^$(PHP)\t/{print $$2}') +PHP_VERSION ?= $(shell test -e $(PHP_RELEASES) && cat $(PHP_RELEASES) | awk -F "\t" '/^$(PHP)\t/{print $$2; exit}') CPPCHECK_STD ?= c89 CPPCHECK_ENABLE ?= portability,style