aboutsummaryrefslogtreecommitdiff
path: root/devel/php5-ice/files
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2007-12-11 20:45:43 +0000
committerXin LI <delphij@FreeBSD.org>2007-12-11 20:45:43 +0000
commitf5df5b75d8560731d6e3d23e187ea883cbfb7349 (patch)
treee787557ab1face90dda531152e5387ded647daaa /devel/php5-ice/files
parent05255e2af0e6cd5faa2ede1e372f488d03465396 (diff)
Notes
Diffstat (limited to 'devel/php5-ice/files')
-rw-r--r--devel/php5-ice/files/patch-config+Make.rules50
1 files changed, 50 insertions, 0 deletions
diff --git a/devel/php5-ice/files/patch-config+Make.rules b/devel/php5-ice/files/patch-config+Make.rules
new file mode 100644
index 000000000000..a6fc981bb6e3
--- /dev/null
+++ b/devel/php5-ice/files/patch-config+Make.rules
@@ -0,0 +1,50 @@
+--- config/Make.rules.orig Wed Aug 22 16:32:59 2007
++++ config/Make.rules Wed Aug 22 21:34:34 2007
+@@ -7,6 +7,8 @@
+ #
+ # **********************************************************************
+
++ICE_HOME = %%LOCALBASE%%
++
+ ifndef ICE_HOME
+ ifneq ($(shell test -f /usr/include/Ice/Ice.h && echo 0),0)
+ $(error Ice installation not found, please set ICE_HOME!)
+@@ -18,7 +20,7 @@ endif
+ # if it does not exist.
+ #
+
+-prefix ?= /opt/IcePHP-$(VERSION)
++prefix ?= %%PREFIX%%/lib/php/$(PHP_EXT_DIR)
+
+ #
+ # The "root directory" for runpath embedded in executables. Can be unset
+@@ -31,7 +33,7 @@ embedded_runpath_prefix ?= /opt/Ice-$(V
+ # 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 @@ embedded_runpath_prefix ?= /opt/Ice-$(V
+ # PHP_INCLUDE_DIR and PHP_LIB_DIR.
+ #
+
+-PHP_HOME ?= /opt/php
++PHP_HOME ?= /usr/local
+
+ UNAME := $(shell uname)
+
+@@ -134,9 +136,9 @@ else
+ endif
+
+ ifeq ($(LP64),yes)
+- install_libdir = $(prefix)/lib$(lp64suffix)
++ install_libdir = $(prefix)$(lp64suffix)
+ else
+- install_libdir = $(prefix)/lib
++ install_libdir = $(prefix)
+ endif
+
+ ifneq ($(embedded_runpath_prefix),)