X-Git-Url: https://git.m6w6.name/?p=m6w6%2Ftravis-pecl;a=blobdiff_plain;f=Makefile;h=d20e6a420344dd344d47b76f844227aabb84ab6e;hp=20f28299ba147ac28b927495d571b735e501377c;hb=3529c77d8f6844c8817873490e290e203b9bfc50;hpb=b6683bb97ca8618dacf7d101e5844d1bb1b2838a diff --git a/Makefile b/Makefile index 20f2829..d20e6a4 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,8 @@ export -PHP ?= 7.2 +PHP ?= 7.3 JOBS ?= 2 -PHP_MIRROR ?= http://us2.php.net/distributions/ +PHP_MIRROR ?= https://php.net/distributions/ TMPDIR ?= /tmp makdir := $(dir $(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST))) @@ -62,9 +62,9 @@ versions: $(PHP_RELEASES) $(PHP_RELEASES): $(makdir)/php-version-url-dist.php $(makdir)/php-version-url-qa.php | $(srcdir) cd $(makdir) && printf "master\tmaster\t%s/fetch-master.sh\n" $$(pwd) >$@ - curl -Ss "http://php.net/releases/index.php?json&version=7&max=-1" | $(makdir)/php-version-url-dist.php >>$@ - curl -Ss "http://php.net/releases/index.php?json&version=5&max=-1" | $(makdir)/php-version-url-dist.php >>$@ - curl -Ss "http://qa.php.net/api.php?type=qa-releases&format=json" | $(makdir)/php-version-url-qa.php >>$@ + curl -sSL "https://php.net/releases/index.php?json&version=7&max=-1" | $(makdir)/php-version-url-dist.php >>$@ + curl -sSL "https://php.net/releases/index.php?json&version=5&max=-1" | $(makdir)/php-version-url-dist.php >>$@ + curl -sSL "https://qa.php.net/api.php?type=qa-releases&format=json" | $(makdir)/php-version-url-qa.php >>$@ ## -- PHP @@ -79,7 +79,7 @@ check: $(PHP_RELEASES) .PHONY: reconf reconf: check $(srcdir)/php-$(PHP_VERSION)/configure - cd $(srcdir)/php-$(PHP_VERSION) && ./configure --cache-file=config.cache --prefix=$(prefix) + cd $(srcdir)/php-$(PHP_VERSION) && ./configure --cache-file=config.cache --prefix=$(prefix) && rm -f sapi/cli/php .PHONY: php php: check $(bindir)/php | $(PECL_INI) @@ -134,7 +134,7 @@ $(PECL_DIR)/config.m4: fi; \ else \ mkdir -p $(PECL_DIR); \ - curl -Ss $(PECL_MIRROR)/$(PECL_EXTENSION)$(if $(PECL_VERSION),/$(PECL_VERSION)) \ + curl -LSs $(PECL_MIRROR)/$(PECL_EXTENSION)$(if $(PECL_VERSION),/$(PECL_VERSION)) \ | tar xz --strip-components 1 -C $(PECL_DIR); \ fi