/[gentoo-x86]/eclass/php-common-r1.eclass
Gentoo

Diff of /eclass/php-common-r1.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.6 Revision 1.7
1# Copyright 1999-2005 Gentoo Foundation 1# Copyright 1999-2005 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.6 2006/03/24 23:05:49 chtekk Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/php-common-r1.eclass,v 1.7 2006/04/18 12:21:14 chtekk Exp $
4 4
5# ######################################################################## 5# ########################################################################
6# 6#
7# eclass/php-common-r1.eclass 7# eclass/php-common-r1.eclass
8# Contains common functions which are shared between the 8# Contains common functions which are shared between the
203 fi 203 fi
204 fi 204 fi
205} 205}
206 206
207# ######################################################################## 207# ########################################################################
208# POSTGRESQL SUPPORT
209# ########################################################################
210
211php_check_pgsql() {
212 if useq "postgres" \
213 && useq "apache2" && useq "threads" \
214 && has_version ">=dev-db/libpq-8.1.3-r1" \
215 && ! built_with_use ">=dev-db/libpq-8.1.3-r1" "threads" ; then
216 eerror
217 eerror "You must build dev-db/libpq with the 'threads' USE flag"
218 eerror "turned on if you want to build PHP with threads support!"
219 eerror
220 die "Rebuild dev-db/libpq with 'threads' USE flag enabled"
221 fi
222}
223
224# ########################################################################
208# END OF ECLASS 225# END OF ECLASS
209# ######################################################################## 226# ########################################################################

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.20