mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
pear 1.10 was released and the go-pear and install pear phars are now php7 compatible
This commit is contained in:
2
makedist
2
makedist
@@ -118,7 +118,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 https://pear.php.net/~cweiske/1.10.0dev2/install-pear-nozlib.phar -nd -P pear/
|
||||
wget https://pear.php.net/install-pear-nozlib.phar -nd -P pear/
|
||||
else
|
||||
$ECHO_N "Missing wget binary needed for pear download";
|
||||
exit 7
|
||||
|
||||
@@ -9,7 +9,7 @@ WGET = `which wget 2>/dev/null`
|
||||
FETCH = `which fetch 2>/dev/null`
|
||||
PEAR_PREFIX = -dp a${program_prefix}
|
||||
PEAR_SUFFIX = -ds a$(program_suffix)
|
||||
PEAR_INSTALLER_URL = https://pear.php.net/~cweiske/1.10.0dev2/install-pear-nozlib.phar
|
||||
PEAR_INSTALLER_URL = https://pear.php.net/install-pear-nozlib.phar
|
||||
|
||||
install-pear-installer: $(SAPI_CLI_PATH)
|
||||
@$(top_builddir)/sapi/cli/php $(PEAR_INSTALL_FLAGS) pear/install-pear-nozlib.phar -d "$(peardir)" -b "$(bindir)" ${PEAR_PREFIX} ${PEAR_SUFFIX}
|
||||
|
||||
@@ -498,7 +498,7 @@ if (!$use_pear_template) {
|
||||
|
||||
/* grab the bootstrap script */
|
||||
echo "Downloading go-pear\n";
|
||||
copy("https://pear.php.net/~cweiske/1.10.0dev2/go-pear.phar", "$dist_dir/PEAR/go-pear.php");
|
||||
copy("https://pear.php.net/go-pear.phar", "$dist_dir/PEAR/go-pear.php");
|
||||
|
||||
/* import the package list -- sets $packages variable */
|
||||
include "pear/go-pear-list.php";
|
||||
|
||||
Reference in New Issue
Block a user