mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
use the new php7 compatible pear installer
This commit is contained in:
2
makedist
2
makedist
@@ -113,7 +113,7 @@ sed -i 's,^#ifndef YYTOKENTYPE,#include "zend.h"\n#ifndef YYTOKENTYPE,g' $MY_OLD
|
||||
# download pear
|
||||
$ECHO_N "makedist: Attempting to download PEAR's phar archive"
|
||||
if test ! -x wget; then
|
||||
wget http://pear.php.net/install-pear-nozlib.phar -nd -P pear/
|
||||
wget http://pear.php.net/~cweiske/1.10.0dev1/install-pear-nozlib.phar -nd -P pear/
|
||||
else
|
||||
$ECHO_N "Missing wget binary needed for pear download";
|
||||
exit 7
|
||||
|
||||
@@ -20,11 +20,11 @@ install-pear:
|
||||
cp $(srcdir)/install-pear-nozlib.phar $(builddir)/install-pear-nozlib.phar; \
|
||||
else \
|
||||
if test ! -z "$(WGET)" && test -x "$(WGET)"; then \
|
||||
"$(WGET)" http://pear.php.net/install-pear-nozlib.phar -nd -P $(builddir)/; \
|
||||
"$(WGET)" http://pear.php.net/~cweiske/1.10.0dev1/install-pear-nozlib.phar -nd -P $(builddir)/; \
|
||||
elif test ! -z "$(FETCH)" && test -x "$(FETCH)"; then \
|
||||
"$(FETCH)" -o $(builddir)/ http://pear.php.net/install-pear-nozlib.phar; \
|
||||
"$(FETCH)" -o $(builddir)/ http://pear.php.net/~cweiske/1.10.0dev1/install-pear-nozlib.phar; \
|
||||
else \
|
||||
$(top_builddir)/sapi/cli/php -n $(srcdir)/fetch.php http://pear.php.net/install-pear-nozlib.phar $(builddir)/install-pear-nozlib.phar; \
|
||||
$(top_builddir)/sapi/cli/php -n $(srcdir)/fetch.php http://pear.php.net/~cweiske/1.10.0dev1/install-pear-nozlib.phar $(builddir)/install-pear-nozlib.phar; \
|
||||
fi \
|
||||
fi \
|
||||
fi
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user