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 | f14b0ddfa295c7e598982e8ccc525ac0aec45697 (patch) | |
tree | b03fa40c0ea871da590d4675dc4ea98831749d45 /eclass | |
parent | python_mod_compile is ROOT aware and can take multiple files as argument. (diff) | |
download | gentoo-2-f14b0ddfa295c7e598982e8ccc525ac0aec45697.tar.gz gentoo-2-f14b0ddfa295c7e598982e8ccc525ac0aec45697.tar.bz2 gentoo-2-f14b0ddfa295c7e598982e8ccc525ac0aec45697.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!" |