1 |
hoffie 08/05/29 14:45:38 |
2 |
|
3 |
Modified: php-common-r1.eclass |
4 |
Log: |
5 |
hopefully last shot at fixing php-common-r1.eclass for postgresql usage, thanks to zlin and dev-zero (again ;)), bug 223797, bug 222933 |
6 |
|
7 |
Revision Changes Path |
8 |
1.16 eclass/php-common-r1.eclass |
9 |
|
10 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/php-common-r1.eclass?rev=1.16&view=markup |
11 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/php-common-r1.eclass?rev=1.16&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/php-common-r1.eclass?r1=1.15&r2=1.16 |
13 |
|
14 |
Index: php-common-r1.eclass |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo-x86/eclass/php-common-r1.eclass,v |
17 |
retrieving revision 1.15 |
18 |
retrieving revision 1.16 |
19 |
diff -u -r1.15 -r1.16 |
20 |
--- php-common-r1.eclass 27 May 2008 10:14:34 -0000 1.15 |
21 |
+++ php-common-r1.eclass 29 May 2008 14:45:38 -0000 1.16 |
22 |
@@ -1,6 +1,6 @@ |
23 |
# Copyright 1999-2007 Gentoo Foundation |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
-# $Header: /var/cvsroot/gentoo-x86/eclass/php-common-r1.eclass,v 1.15 2008/05/27 10:14:34 hoffie Exp $ |
26 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/php-common-r1.eclass,v 1.16 2008/05/29 14:45:38 hoffie Exp $ |
27 |
|
28 |
# Based on robbat2's work on the php4 sapi eclass |
29 |
# Based on stuart's work on the php5 sapi eclass |
30 |
@@ -210,8 +210,9 @@ |
31 |
|
32 |
php_check_pgsql() { |
33 |
if use "postgres" && use "apache2" && use "threads" ; then |
34 |
- if has_version ">=dev-db/libpq-8.1.3-r1" ; then |
35 |
- if ! built_with_use ">=dev-db/libpq-8.1.3-r1" "threads" ; then |
36 |
+ if has_version dev-db/libpq ; then |
37 |
+ if has_version ">=dev-db/libpq-8" && \ |
38 |
+ ! built_with_use ">=dev-db/libpq-8" "threads" ; then |
39 |
eerror |
40 |
eerror "You must build dev-db/libpq with USE=threads" |
41 |
eerror "if you want to build PHP with threads support!" |
42 |
|
43 |
|
44 |
|
45 |
-- |
46 |
gentoo-commits@l.g.o mailing list |