summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorLuca Longinotti <chtekk@gentoo.org>2006-01-28 15:49:28 +0000
committerLuca Longinotti <chtekk@gentoo.org>2006-01-28 15:49:28 +0000
commit8e8b7a763e7383c0e929d4c9474e378dee920f29 (patch)
tree0b4153f6b74a5d2b12c495c68a6151a03b05dda9 /eclass
parentMarked ~hppa (bug #119722). (diff)
downloadgentoo-2-8e8b7a763e7383c0e929d4c9474e378dee920f29.tar.gz
gentoo-2-8e8b7a763e7383c0e929d4c9474e378dee920f29.tar.bz2
gentoo-2-8e8b7a763e7383c0e929d4c9474e378dee920f29.zip
Fix bug #118848.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/php5_1-sapi.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/php5_1-sapi.eclass b/eclass/php5_1-sapi.eclass
index ca27e2dc8092..ae0c958c1e4b 100644
--- a/eclass/php5_1-sapi.eclass
+++ b/eclass/php5_1-sapi.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_1-sapi.eclass,v 1.15 2006/01/28 01:35:11 chtekk Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/php5_1-sapi.eclass,v 1.16 2006/01/28 15:49:28 chtekk Exp $
#
# ########################################################################
#
@@ -484,7 +484,7 @@ php5_1-sapi_src_compile() {
enable_extension_with "pdo-oci" "oci8" 1
if useq oci8-instant-client ; then
OCI8IC_PKG="`best_version dev-db/oracle-instantclient-basic`"
- OCI8IC_PKG="`printf ${OCI8IC_PKG} | sed -e 's|dev-db/oracle-instantclient-basic-||g'`"
+ OCI8IC_PKG="`printf ${OCI8IC_PKG} | sed -e 's|dev-db/oracle-instantclient-basic-||g' | sed -e 's|-r.*||g'`"
fi
enable_extension_with "pdo-oci" "oci8-instant-client" 1 "instantclient,/usr,${OCI8IC_PKG}"
enable_extension_with "pdo-odbc" "odbc" 1 "unixODBC,/usr"