1 |
mabi 10/09/19 15:15:08 |
2 |
|
3 |
Modified: src_configure-v52.eblit src_configure-v1.eblit |
4 |
Log: |
5 |
fix building against IBM DB2, you now can use your DB2_HOME env variable again (bug #337512, thanks reavertm for the patch) |
6 |
(Portage version: 2.1.8.3/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.5 dev-lang/php/files/eblits/src_configure-v52.eblit |
10 |
|
11 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/php/files/eblits/src_configure-v52.eblit?rev=1.5&view=markup |
12 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/php/files/eblits/src_configure-v52.eblit?rev=1.5&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/php/files/eblits/src_configure-v52.eblit?r1=1.4&r2=1.5 |
14 |
|
15 |
Index: src_configure-v52.eblit |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/dev-lang/php/files/eblits/src_configure-v52.eblit,v |
18 |
retrieving revision 1.4 |
19 |
retrieving revision 1.5 |
20 |
diff -u -r1.4 -r1.5 |
21 |
--- src_configure-v52.eblit 11 Aug 2010 22:30:23 -0000 1.4 |
22 |
+++ src_configure-v52.eblit 19 Sep 2010 15:15:08 -0000 1.5 |
23 |
@@ -1,6 +1,6 @@ |
24 |
# Copyright 1999-2010 Gentoo Foundation |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/php/files/eblits/src_configure-v52.eblit,v 1.4 2010/08/11 22:30:23 mabi Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/php/files/eblits/src_configure-v52.eblit,v 1.5 2010/09/19 15:15:08 mabi Exp $ |
28 |
|
29 |
eblit-php-src_configure() { |
30 |
export CFLAGS="${CFLAGS} -D_GNU_SOURCE" |
31 |
@@ -149,7 +149,9 @@ |
32 |
phpconfutils_extension_with "empress-bcs" "empress-bcs" 0 |
33 |
fi |
34 |
phpconfutils_extension_with "esoob" "esoob" 1 |
35 |
- phpconfutils_extension_with "ibm-db2" "db2" 1 |
36 |
+ # Needed to run conftest for IBM DB2 |
37 |
+ [[ -n ${DB2_HOME} ]] && export LD_LIBRARY_PATH="${DB2_HOME}/`get_libdir`" |
38 |
+ phpconfutils_extension_with "ibm-db2" "db2" 1 "${DB2_HOME}" |
39 |
phpconfutils_extension_with "sapdb" "sapdb" 1 |
40 |
phpconfutils_extension_with "solid" "solid" 1 |
41 |
fi |
42 |
|
43 |
|
44 |
|
45 |
1.7 dev-lang/php/files/eblits/src_configure-v1.eblit |
46 |
|
47 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/php/files/eblits/src_configure-v1.eblit?rev=1.7&view=markup |
48 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/php/files/eblits/src_configure-v1.eblit?rev=1.7&content-type=text/plain |
49 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/php/files/eblits/src_configure-v1.eblit?r1=1.6&r2=1.7 |
50 |
|
51 |
Index: src_configure-v1.eblit |
52 |
=================================================================== |
53 |
RCS file: /var/cvsroot/gentoo-x86/dev-lang/php/files/eblits/src_configure-v1.eblit,v |
54 |
retrieving revision 1.6 |
55 |
retrieving revision 1.7 |
56 |
diff -u -r1.6 -r1.7 |
57 |
--- src_configure-v1.eblit 9 Aug 2010 13:02:23 -0000 1.6 |
58 |
+++ src_configure-v1.eblit 19 Sep 2010 15:15:08 -0000 1.7 |
59 |
@@ -1,6 +1,6 @@ |
60 |
# Copyright 1999-2010 Gentoo Foundation |
61 |
# Distributed under the terms of the GNU General Public License v2 |
62 |
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/php/files/eblits/src_configure-v1.eblit,v 1.6 2010/08/09 13:02:23 mabi Exp $ |
63 |
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/php/files/eblits/src_configure-v1.eblit,v 1.7 2010/09/19 15:15:08 mabi Exp $ |
64 |
|
65 |
eblit-php-src_configure() { |
66 |
PHP_DESTDIR="/usr/$(get_libdir)/php${PHP_MV}" |
67 |
@@ -154,7 +154,9 @@ |
68 |
phpconfutils_extension_with "empress-bcs" "empress-bcs" 0 |
69 |
fi |
70 |
phpconfutils_extension_with "esoob" "esoob" 1 |
71 |
- phpconfutils_extension_with "ibm-db2" "db2" 1 |
72 |
+ # Needed to run conftest for IBM DB2 |
73 |
+ [[ -n ${DB2_HOME} ]] && export LD_LIBRARY_PATH="${DB2_HOME}/`get_libdir`" |
74 |
+ phpconfutils_extension_with "ibm-db2" "db2" 1 "${DB2_HOME}" |
75 |
phpconfutils_extension_with "sapdb" "sapdb" 1 |
76 |
phpconfutils_extension_with "solid" "solid" 1 |
77 |
fi |