mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00
use the new php7 compatible pear installer
This commit is contained in:
parent
62515a1dbb
commit
cd37e7c90d
3 changed files with 4 additions and 97200 deletions
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
Loading…
Add table
Add a link
Reference in a new issue