summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOle Markus With <olemarkus@gentoo.org>2013-04-08 08:11:29 +0000
committerOle Markus With <olemarkus@gentoo.org>2013-04-08 08:11:29 +0000
commitef5a1d4216f81f7e494bd6dba12e8945837550f4 (patch)
treec391149a1bbf74404ecd81098851d930b6390fa7 /eclass/php-ext-source-r2.eclass
parentRevbump, apply patch to fix segfault issue (bug #465040). Remove old. (diff)
downloadgentoo-2-ef5a1d4216f81f7e494bd6dba12e8945837550f4.tar.gz
gentoo-2-ef5a1d4216f81f7e494bd6dba12e8945837550f4.tar.bz2
gentoo-2-ef5a1d4216f81f7e494bd6dba12e8945837550f4.zip
Fix for installing ini files in the tree. Bug 464900
Diffstat (limited to 'eclass/php-ext-source-r2.eclass')
-rw-r--r--eclass/php-ext-source-r2.eclass10
1 files changed, 3 insertions, 7 deletions
diff --git a/eclass/php-ext-source-r2.eclass b/eclass/php-ext-source-r2.eclass
index efca332efe93..08620303f7c4 100644
--- a/eclass/php-ext-source-r2.eclass
+++ b/eclass/php-ext-source-r2.eclass
@@ -1,6 +1,6 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/php-ext-source-r2.eclass,v 1.30 2012/09/27 16:35:41 axs Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/php-ext-source-r2.eclass,v 1.31 2013/04/08 08:11:29 olemarkus Exp $
# @ECLASS: php-ext-source-r2.eclass
# @MAINTAINER:
@@ -262,13 +262,9 @@ php-ext-source-r2_createinifiles() {
local inifile
for inifile in ${PHPINIFILELIST} ; do
if [[ -n "${PHP_EXT_INIFILE}" ]]; then
- cat "${FILESDIR}/${PHP_EXT_INIFILE}" > "${inifile}"
+ cat "${FILESDIR}/${PHP_EXT_INIFILE}" >> "${ED}/${inifile}"
einfo "Added content of ${FILESDIR}/${PHP_EXT_INIFILE} to ${inifile}"
fi
-
-
-
-
inidir="${inifile/${PHP_EXT_NAME}.ini/}"
inidir="${inidir/ext/ext-active}"
dodir "/${inidir}"