summaryrefslogtreecommitdiff
path: root/devel/php5-ice/files/patch-php+config+Make.rules.php
blob: a8d2db0d75a294046b86182e4444c7646b267c11 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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