Lines 1-6
Link Here
|
1 |
# Copyright 1999-2007 Gentoo Foundation |
1 |
# Copyright 1999-2007 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/eclass/php-common-r1.eclass,v 1.15 2008/05/27 10:14:34 hoffie Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/eclass/php-common-r1.eclass,v 1.16 2008/05/29 14:45:38 hoffie Exp $ |
4 |
|
4 |
|
5 |
# Based on robbat2's work on the php4 sapi eclass |
5 |
# Based on robbat2's work on the php4 sapi eclass |
6 |
# Based on stuart's work on the php5 sapi eclass |
6 |
# Based on stuart's work on the php5 sapi eclass |
Lines 210-217
Link Here
|
210 |
|
210 |
|
211 |
php_check_pgsql() { |
211 |
php_check_pgsql() { |
212 |
if use "postgres" && use "apache2" && use "threads" ; then |
212 |
if use "postgres" && use "apache2" && use "threads" ; then |
213 |
if has_version ">=dev-db/libpq-8.1.3-r1" ; then |
213 |
if has_version dev-db/libpq ; then |
214 |
if ! built_with_use ">=dev-db/libpq-8.1.3-r1" "threads" ; then |
214 |
if has_version ">=dev-db/libpq-8" && \ |
|
|
215 |
! built_with_use ">=dev-db/libpq-8" "threads" ; then |
215 |
eerror |
216 |
eerror |
216 |
eerror "You must build dev-db/libpq with USE=threads" |
217 |
eerror "You must build dev-db/libpq with USE=threads" |
217 |
eerror "if you want to build PHP with threads support!" |
218 |
eerror "if you want to build PHP with threads support!" |