File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed
Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -5,15 +5,19 @@ peardir=$(PEAR_INSTALLDIR)
55# Skip all php.ini files altogether
66PEAR_INSTALL_FLAGS = -n -dshort_open_tag=0 -dsafe_mode=0 -derror_reporting=E_ALL -ddetect_unicode=0
77
8- install-pear-installer : $(top_builddir ) /sapi/cli/php
9- @$(top_builddir ) /sapi/cli/php $(PEAR_INSTALL_FLAGS ) $(srcdir ) /install-pear-nozlib.phar -d " $( peardir) " -b " $( bindir) "
8+ install-pear-installer : $(SAPI_CLI_PATH )
9+ @$(top_builddir ) /sapi/cli/php $(PEAR_INSTALL_FLAGS ) $(builddir ) /install-pear-nozlib.phar -d " $( peardir) " -b " $( bindir) "
1010
1111install-pear :
1212 @echo " Installing PEAR environment: $( INSTALL_ROOT) $( peardir) /"
13- @if test ! -f $(srcdir ) /install-pear-nozlib.phar; then \
14- wget http://pear.php.net/install-pear-nozlib.phar -nd -P $(srcdir ) ; \
13+ @if test ! -f $(builddir ) /install-pear-nozlib.phar; then \
14+ if test -f $( srcdir) /install-pear-nozlib.phar; then \
15+ cp $(srcdir ) /install-pear-nozlib.phar $(builddir ) /install-pear-nozlib.phar; \
16+ else \
17+ wget http://pear.php.net/install-pear-nozlib.phar -nd -P $(builddir ) /; \
18+ fi \
1519 fi
16- @if test -f $(srcdir ) /install-pear-nozlib.phar && $(mkinstalldirs ) $(INSTALL_ROOT )$(peardir ) ; then \
20+ @if test -f $(builddir ) /install-pear-nozlib.phar && $(mkinstalldirs ) $(INSTALL_ROOT )$(peardir ) ; then \
1721 $(MAKE ) -s install-pear-installer; \
1822 else \
1923 cat $(srcdir ) /install-pear.txt; \
You can’t perform that action at this time.
0 commit comments