diff options
author | Stuart Herbert <stuart@gentoo.org> | 2005-05-31 21:45:13 +0000 |
---|---|---|
committer | Stuart Herbert <stuart@gentoo.org> | 2005-05-31 21:45:13 +0000 |
commit | 614bb56c69f59e928a6907c81080f71b8343b271 (patch) | |
tree | 2fe811d8249174d8fbc49d8ed6bf57c19252d587 /eclass/php5-sapi-r2.eclass | |
parent | Added support for iodbc (diff) | |
download | gentoo-2-614bb56c69f59e928a6907c81080f71b8343b271.tar.gz gentoo-2-614bb56c69f59e928a6907c81080f71b8343b271.tar.bz2 gentoo-2-614bb56c69f59e928a6907c81080f71b8343b271.zip |
Added iodbc support
Diffstat (limited to 'eclass/php5-sapi-r2.eclass')
-rw-r--r-- | eclass/php5-sapi-r2.eclass | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/eclass/php5-sapi-r2.eclass b/eclass/php5-sapi-r2.eclass index 395ba6b99311..e71407ceb0a8 100644 --- a/eclass/php5-sapi-r2.eclass +++ b/eclass/php5-sapi-r2.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/php5-sapi-r2.eclass,v 1.7 2005/05/31 21:14:25 stuart Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/php5-sapi-r2.eclass,v 1.8 2005/05/31 21:45:13 stuart Exp $ # # eclass/php5-sapi-r2.eclass # Eclass for building different php5 SAPI instances @@ -49,6 +49,7 @@ DEPEND="$DEPEND gdbm? ( >=sys-libs/gdbm-1.8.0 ) gmp? ( dev-libs/gmp ) imap? ( virtual/imap-c-client ) + iodbc? ( dev-db/libiodbc ) jpeg? ( >=media-libs/jpeg-6b ) kerberos? ( virtual/krb5 ) ldap? ( >=net-nds/openldap-1.2.11 ) @@ -152,15 +153,9 @@ php5-sapi-r2_check_awkward_uses() { die "recode broken, upstream bug" fi - # iodbc not available; upstream web site down + # iodbc support added by Tim Haynes <gentoo@stirfried.vegetable.org.uk> if useq iodbc ; then - eerror - eerror "We have not been able to add iodbc support to Gentoo yet, as we" - eerror "have experienced difficulties in reaching www.iodbc.org." - eerror - eerror "For now, please use the 'odbc' USE flag instead." - eerror - die "iodbc support incomplete; gentoo bug" + enable_extension_with "iodbc" "iodbc" 0 /usr fi # Sanity check for Oracle @@ -359,6 +354,9 @@ php5-sapi-r2_src_unpack() { use hardenedphp && [ -n "$HARDENEDPHP_PATCH" ] && epatch ${DISTDIR}/${HARDENEDPHP_PATCH} + # iodbc support + use iodbc && epatch ${FILESDIR}/with-iodbc.diff + # fix configure scripts to recognize uClibc uclibctoolize |