summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorStuart Herbert <stuart@gentoo.org>2005-02-28 17:51:54 +0000
committerStuart Herbert <stuart@gentoo.org>2005-02-28 17:51:54 +0000
commit242d8024d21dc166ba4062d1cb922a250e85ea66 (patch)
treea230a2706121803d921c51dde8af37f93eb98da9 /eclass
parentInitial import - from bug #83446 (diff)
downloadgentoo-2-242d8024d21dc166ba4062d1cb922a250e85ea66.tar.gz
gentoo-2-242d8024d21dc166ba4062d1cb922a250e85ea66.tar.bz2
gentoo-2-242d8024d21dc166ba4062d1cb922a250e85ea66.zip
Fixes for shared -> sharedext USE flag
Diffstat (limited to 'eclass')
-rw-r--r--eclass/php5-sapi.eclass8
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/php5-sapi.eclass b/eclass/php5-sapi.eclass
index 3db76d5ed132..d30aa418c998 100644
--- a/eclass/php5-sapi.eclass
+++ b/eclass/php5-sapi.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/php5-sapi.eclass,v 1.39 2005/02/21 07:31:25 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/php5-sapi.eclass,v 1.40 2005/02/28 17:51:54 stuart Exp $
#
# eclass/php5-sapi.eclass
# Eclass for building different php5 SAPI instances
@@ -23,7 +23,7 @@ HOMEPAGE="http://www.php.net/"
LICENSE="PHP-3"
SRC_URI="http://www.php.net/distributions/${MY_P}.tar.bz2"
S="${WORKDIR}/${MY_P}"
-IUSE="${IUSE} adabas bcmath berkdb birdstep bzlib calendar cdb cpdflib crypt ctype curl curlwrappers db2 dba dbase dbm dbmaker dbx debug dio empress empress-bcs esoob exif fam frontbase fdftk flatfile filepro ftp gd gd-external gdbm gmp hyperwave-api imap inifile iconv informix ingres interbase iodbc jpeg kerberos ldap libedit mcve memlimit mhash mime ming mnogosearch msession msql mssql mysql mysqli ncurses nls nis oci8 odbc oracle7 ovrimos pcntl pcre pfpro png postgres posix qdbm readline recode sapdb sasl session shared sharedmem simplexml snmp soap sockets solid spell spl sqlite ssl sybase sybase-ct sysvipc tidy tiff tokenizer truetype wddx xsl xml2 xmlrpc xpm zlib"
+IUSE="${IUSE} adabas bcmath berkdb birdstep bzlib calendar cdb cpdflib crypt ctype curl curlwrappers db2 dba dbase dbm dbmaker dbx debug dio empress empress-bcs esoob exif fam frontbase fdftk flatfile filepro ftp gd gd-external gdbm gmp hyperwave-api imap inifile iconv informix ingres interbase iodbc jpeg kerberos ldap libedit mcve memlimit mhash mime ming mnogosearch msession msql mssql mysql mysqli ncurses nls nis oci8 odbc oracle7 ovrimos pcntl pcre pfpro png postgres posix qdbm readline recode sapdb sasl session sharedext sharedmem simplexml snmp soap sockets solid spell spl sqlite ssl sybase sybase-ct sysvipc tidy tiff tokenizer truetype wddx xsl xml2 xmlrpc xpm zlib"
# these USE flags should have the correct dependencies
DEPEND="$DEPEND
@@ -448,7 +448,7 @@ php5-sapi_src_compile() {
php5-sapi_src_install() {
addpredict /usr/share/snmp/mibs/.index
- useq shared && PHP_INSTALLTARGETS="${PHP_INSTALLTARGETS} install-modules"
+ useq sharedext && PHP_INSTALLTARGETS="${PHP_INSTALLTARGETS} install-modules"
make INSTALL_ROOT=${D} $PHP_INSTALLTARGETS || die "install failed"
# annoyingly, we have to install the CLI by hand
@@ -474,7 +474,7 @@ php5-sapi_src_install() {
einfo "Setting correct include_path"
sed -e 's|^;include_path .*|include_path = ".:/usr/lib/php"|' -i ${phpinisrc}
- if useq shared; then
+ if useq sharedext; then
for x in `ls ${D}${PHPEXTDIR}/*.so | sort`; do
echo "extension=`basename ${x}`" >> ${phpinisrc}
done;