summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorChristian Hoffmann <hoffie@gentoo.org>2008-05-29 14:45:38 +0000
committerChristian Hoffmann <hoffie@gentoo.org>2008-05-29 14:45:38 +0000
commit05d1e7e41db8a7677f7943d283bec98a5cd31957 (patch)
treed182ebfd51d23a2f9e9be40731cd7da970fc34f7 /eclass
parentpython_mod_compile is ROOT aware and can take multiple files as argument. (diff)
downloadhistorical-05d1e7e41db8a7677f7943d283bec98a5cd31957.tar.gz
historical-05d1e7e41db8a7677f7943d283bec98a5cd31957.tar.bz2
historical-05d1e7e41db8a7677f7943d283bec98a5cd31957.zip
hopefully last shot at fixing php-common-r1.eclass for postgresql usage, thanks to zlin and dev-zero (again ;)), bug 223797, bug 222933
Diffstat (limited to 'eclass')
-rw-r--r--eclass/php-common-r1.eclass7
1 files changed, 4 insertions, 3 deletions
diff --git a/eclass/php-common-r1.eclass b/eclass/php-common-r1.eclass
index bc2abd8487d6..90e30288e954 100644
--- a/eclass/php-common-r1.eclass
+++ b/eclass/php-common-r1.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/php-common-r1.eclass,v 1.15 2008/05/27 10:14:34 hoffie Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/php-common-r1.eclass,v 1.16 2008/05/29 14:45:38 hoffie Exp $
# Based on robbat2's work on the php4 sapi eclass
# Based on stuart's work on the php5 sapi eclass
@@ -210,8 +210,9 @@ php_check_oracle_8() {
php_check_pgsql() {
if use "postgres" && use "apache2" && use "threads" ; then
- if has_version ">=dev-db/libpq-8.1.3-r1" ; then
- if ! built_with_use ">=dev-db/libpq-8.1.3-r1" "threads" ; then
+ if has_version dev-db/libpq ; then
+ if has_version ">=dev-db/libpq-8" && \
+ ! built_with_use ">=dev-db/libpq-8" "threads" ; then
eerror
eerror "You must build dev-db/libpq with USE=threads"
eerror "if you want to build PHP with threads support!"