summaryrefslogtreecommitdiff
path: root/devel/php5-ice/files/patch-php+config+Make.rules.php
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2010-08-15 12:22:09 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2010-08-15 12:22:09 +0000
commitdafe7a36f4f8944e57adba9ba54d1b60261f6591 (patch)
tree1ef43901c965250d6588083e2706b92f92486cff /devel/php5-ice/files/patch-php+config+Make.rules.php
parentMark port broken. Does not compile with new ice version (diff)
Untested Update to 3.4.1 to unbreak port with recent ice update
PR: 149114 Submitted by: "Stefan Ehmann" <shoesoft@gmx.net> Approved by: maintainer timeout
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.php42
1 files changed, 42 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..a8d2db0d75a2
--- /dev/null
+++ b/devel/php5-ice/files/patch-php+config+Make.rules.php
@@ -0,0 +1,42 @@
+--- php/config/Make.rules.php.orig 2010-06-03 18:48:34.000000000 +0200
++++ php/config/Make.rules.php 2010-07-30 14:43:46.000000000 +0200
+@@ -12,7 +12,9 @@
+ # if it does not exist.
+ #
+
+-prefix ?= /opt/Ice-$(VERSION)
++ICE_HOME = /usr/local
++
++prefix ?= /usr/local/lib/php/$(PHP_EXT_DIR)
+
+ #
+ # The "root directory" for runpath embedded in executables. Can be unset
+@@ -25,7 +27,7 @@
+ # Otherwise the Ice extension is built with debug information.
+ #
+
+-#OPTIMIZE = yes
++OPTIMIZE = yes
+
+ #
+ # Define LP64 as yes if you want to build in 64 bit mode on a platform
+@@ -54,7 +56,7 @@
+ # PHP_INCLUDE_DIR and PHP_LIB_DIR.
+ #
+
+-PHP_HOME ?= /opt/php
++PHP_HOME ?= /usr/local
+
+ #
+ # Verifies the PHP_HOME is valid and attempts to adjust for platform variances
+@@ -100,8 +102,8 @@
+ endif
+
+ libdir = $(top_srcdir)/lib
+-install_phpdir = $(prefix)/php
+-install_libdir = $(prefix)/php
++install_phpdir = $(prefix)
++install_libdir = $(prefix)
+
+ #
+ # Platform specific definitions