diff options
author | Marcus Boerger <helly@php.net> | 2005-09-30 17:03:22 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2005-09-30 17:03:22 +0000 |
commit | 91e31d0243021d0cb91430ead2bea7aea4879baf (patch) | |
tree | 36fdb88924adfe8d7be0a04abd5ec037599704a5 /pear | |
parent | dfc804409821a90cffd3f0f72560dff84dd392ab (diff) | |
download | php-git-91e31d0243021d0cb91430ead2bea7aea4879baf.tar.gz |
- Try to fetch the necessary file via wget
Diffstat (limited to 'pear')
-rw-r--r-- | pear/Makefile.frag | 5 |
1 files changed, 4 insertions, 1 deletions
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 \ |