summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Beaver <cellog@php.net>2009-08-02 19:11:15 (GMT)
committerGreg Beaver <cellog@php.net>2009-08-02 19:11:15 (GMT)
commitd6a608f7e1635159c118290024aee076fc4f701f (patch)
tree41673521875fca4e0d3752701d7be5868c4b7134
parent4397aa9881b7c2dfbfc04faf43be671e5c44cd92 (diff)
downloadphp-d6a608f7e1635159c118290024aee076fc4f701f.tar.gz
fix Bug #43857
-rw-r--r--pear/Makefile.frag4
1 files changed, 3 insertions, 1 deletions
diff --git a/pear/Makefile.frag b/pear/Makefile.frag
index e036dcb..1f6f70e 100644
--- a/pear/Makefile.frag
+++ b/pear/Makefile.frag
@@ -7,9 +7,11 @@ PEAR_INSTALL_FLAGS = -n -dshort_open_tag=0 -dsafe_mode=0 -dopen_basedir= -derror
WGET = `which wget 2>/dev/null`
FETCH = `which fetch 2>/dev/null`
+PEAR_PREFIX = -dp a${program_prefix}
+PEAR_SUFFIX = -ds a$(program_suffix)
install-pear-installer: $(SAPI_CLI_PATH)
- @$(top_builddir)/sapi/cli/php $(PEAR_INSTALL_FLAGS) $(builddir)/install-pear-nozlib.phar -d "$(peardir)" -b "$(bindir)"
+ @$(top_builddir)/sapi/cli/php $(PEAR_INSTALL_FLAGS) pear/install-pear-nozlib.phar -d "$(peardir)" -b "$(bindir)" ${PEAR_PREFIX} ${PEAR_SUFFIX}
install-pear:
@echo "Installing PEAR environment: $(INSTALL_ROOT)$(peardir)/"