summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTal Peer <coredumb@gentoo.org>2003-07-26 11:52:11 +0000
committerTal Peer <coredumb@gentoo.org>2003-07-26 11:52:11 +0000
commit21f6981063f390b5b760f315e4c1de8a7a825242 (patch)
tree6da7409d11696159867e217d5e5d996c63da5cb5 /eclass/php.eclass
parentAdded mad, static, and debug USE variables. Other ebuild cleanups. (diff)
downloadgentoo-2-21f6981063f390b5b760f315e4c1de8a7a825242.tar.gz
gentoo-2-21f6981063f390b5b760f315e4c1de8a7a825242.tar.bz2
gentoo-2-21f6981063f390b5b760f315e4c1de8a7a825242.zip
Fix INI handling for extensions.
Diffstat (limited to 'eclass/php.eclass')
-rw-r--r--eclass/php.eclass7
1 files changed, 6 insertions, 1 deletions
diff --git a/eclass/php.eclass b/eclass/php.eclass
index a0b94665865f..d74219e06ce6 100644
--- a/eclass/php.eclass
+++ b/eclass/php.eclass
@@ -1,7 +1,7 @@
# Copyright 2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# Author: Robin H. Johnson <robbat2@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/eclass/php.eclass,v 1.68 2003/07/21 07:20:39 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/php.eclass,v 1.69 2003/07/26 11:52:11 coredumb Exp $
# This EBUILD is totally masked presently. Use it at your own risk. I know it
# is severely broken, but I needed to get a copy into CVS to pass around and
@@ -450,6 +450,11 @@ php_src_install() {
#url_fopen
patch ${phpinisrc} <${DISTDIR}/${MY_P}-fopen-url-secure.patch
+ #prevent bugs with php-ext eclasses
+ mv $phpinisrc $phpinisrc.orig
+ sed 's:extension_dir = "./"::' $phpinisrc.orig > $phpinisrc
+
+
# A lot of ini file funkiness
insinto ${PHPINIDIRECTORY}
newins ${phpinisrc} ${PHPINIFILENAME}