From 91e31d0243021d0cb91430ead2bea7aea4879baf Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Fri, 30 Sep 2005 17:03:22 +0000 Subject: - Try to fetch the necessary file via wget --- pear/Makefile.frag | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'pear') diff --git a/pear/Makefile.frag b/pear/Makefile.frag index 376f9ad607..713560280a 100644 --- a/pear/Makefile.frag +++ b/pear/Makefile.frag @@ -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 \ -- cgit v1.2.1