aboutsummaryrefslogtreecommitdiff
path: root/devel/php5-ice/files/patch-php-config-Make.rules.php
diff options
context:
space:
mode:
authorRuslan Makhmatkhanov <rm@FreeBSD.org>2013-06-17 11:49:32 +0000
committerRuslan Makhmatkhanov <rm@FreeBSD.org>2013-06-17 11:49:32 +0000
commit761142e0b457320078fb74141c84617b594d19ea (patch)
tree5354be0492f185c9201cb749801d3d2829732fab /devel/php5-ice/files/patch-php-config-Make.rules.php
parent39e47a61bec9559a8a7dd9da7f3dd91a21c5cf5f (diff)
downloadports-761142e0b457320078fb74141c84617b594d19ea.tar.gz
ports-761142e0b457320078fb74141c84617b594d19ea.zip
Notes
Diffstat (limited to 'devel/php5-ice/files/patch-php-config-Make.rules.php')
-rw-r--r--devel/php5-ice/files/patch-php-config-Make.rules.php23
1 files changed, 23 insertions, 0 deletions
diff --git a/devel/php5-ice/files/patch-php-config-Make.rules.php b/devel/php5-ice/files/patch-php-config-Make.rules.php
new file mode 100644
index 000000000000..a22c79dc2e64
--- /dev/null
+++ b/devel/php5-ice/files/patch-php-config-Make.rules.php
@@ -0,0 +1,23 @@
+--- php/config/Make.rules.php.orig 2013-03-11 15:19:47.000000000 +0000
++++ php/config/Make.rules.php 2013-06-02 14:36:13.744196194 +0000
+@@ -100,8 +100,8 @@
+ endif
+
+ libdir = $(top_srcdir)/lib
+-install_phpdir = $(prefix)/php
+-install_libdir = $(prefix)/php
++install_phpdir = $(prefix)/share/pear
++install_libdir = $(prefix)/lib/php/$(PHP_EXT_DIR)
+
+ #
+ # Platform specific definitions
+@@ -155,7 +155,8 @@
+ endif
+
+ ifeq ($(installphplib),)
+- installphplib = $(INSTALL) $(1) $(2); \
++ installphplib = mkdir -p $(2) ; \
++ $(INSTALL) $(1) $(2); \
+ chmod a+rx $(2)/$(notdir $(1))
+ endif
+