aboutsummaryrefslogtreecommitdiff
path: root/meta-linaro/recipes-devtools/php/php/pear-makefile.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-linaro/recipes-devtools/php/php/pear-makefile.patch')
-rw-r--r--meta-linaro/recipes-devtools/php/php/pear-makefile.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/meta-linaro/recipes-devtools/php/php/pear-makefile.patch b/meta-linaro/recipes-devtools/php/php/pear-makefile.patch
new file mode 100644
index 00000000..1928b989
--- /dev/null
+++ b/meta-linaro/recipes-devtools/php/php/pear-makefile.patch
@@ -0,0 +1,13 @@
+diff --git a/pear/Makefile.frag b/pear/Makefile.frag
+index 1f6f70e..b19a77c 100644
+--- a/pear/Makefile.frag
++++ b/pear/Makefile.frag
+@@ -11,7 +11,7 @@ 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) pear/install-pear-nozlib.phar -d "$(peardir)" -b "$(bindir)" ${PEAR_PREFIX} ${PEAR_SUFFIX}
++ @$(PHP_NATIVE_DIR)/php $(PEAR_INSTALL_FLAGS) $(builddir)/install-pear-nozlib.phar -d "$(peardir)" -b "$(bindir)" ${PEAR_PREFIX} ${PEAR_SUFFIX}
+
+ install-pear:
+ @echo "Installing PEAR environment: $(INSTALL_ROOT)$(peardir)/"