- Try to fetch the necessary file via wget

This commit is contained in:
Marcus Boerger 2005-09-30 17:03:22 +00:00
parent dfc8044098
commit 91e31d0243

View file

@ -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 \