diff options
author | Christian Hoffmann <hoffie@gentoo.org> | 2008-05-29 14:45:38 +0000 |
---|---|---|
committer | Christian Hoffmann <hoffie@gentoo.org> | 2008-05-29 14:45:38 +0000 |
commit | 05d1e7e41db8a7677f7943d283bec98a5cd31957 (patch) | |
tree | d182ebfd51d23a2f9e9be40731cd7da970fc34f7 /eclass | |
parent | python_mod_compile is ROOT aware and can take multiple files as argument. (diff) | |
download | historical-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.eclass | 7 |
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!" |