mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00
- Try to fetch the necessary file via wget
This commit is contained in:
parent
dfc8044098
commit
91e31d0243
1 changed files with 4 additions and 1 deletions
|
@ -3,13 +3,16 @@
|
|||
peardir=$(PEAR_INSTALLDIR)
|
||||
|
||||
# Skip all php.ini files altogether
|
||||
PEAR_INSTALL_FLAGS = -n -dshort_open_tag=0 -dsafe_mode=0
|
||||
PEAR_INSTALL_FLAGS = -n -dshort_open_tag=0 -dsafe_mode=0 -derror_reporting=0
|
||||
|
||||
install-pear-installer: $(top_builddir)/sapi/cli/php
|
||||
@$(top_builddir)/sapi/cli/php $(PEAR_INSTALL_FLAGS) $(srcdir)/install-pear.phar -d "$(peardir)" -b "$(bindir)"
|
||||
|
||||
install-pear:
|
||||
@echo "Installing PEAR environment: $(INSTALL_ROOT)$(peardir)/"
|
||||
@if test ! -f $(srcdir)/install-pear.phar; then \
|
||||
wget http://pear.php.net/install-pear.phar -nd -P $(srcdir); \
|
||||
fi
|
||||
@if test -f $(srcdir)/install-pear.phar && $(mkinstalldirs) $(INSTALL_ROOT)$(peardir); then \
|
||||
$(MAKE) -s install-pear-installer; \
|
||||
else \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue