/[gentoo-x86]/eclass/php-ext-source-r2.eclass
Gentoo

Diff of /eclass/php-ext-source-r2.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.30 Revision 1.31
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2013 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/php-ext-source-r2.eclass,v 1.30 2012/09/27 16:35:41 axs Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/php-ext-source-r2.eclass,v 1.31 2013/04/08 08:11:29 olemarkus Exp $
4 4
5# @ECLASS: php-ext-source-r2.eclass 5# @ECLASS: php-ext-source-r2.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# Gentoo PHP team <php-bugs@gentoo.org> 7# Gentoo PHP team <php-bugs@gentoo.org>
8# @AUTHOR: 8# @AUTHOR:
260 260
261 # Symlink the <ext>.ini files from ext/ to ext-active/ 261 # Symlink the <ext>.ini files from ext/ to ext-active/
262 local inifile 262 local inifile
263 for inifile in ${PHPINIFILELIST} ; do 263 for inifile in ${PHPINIFILELIST} ; do
264 if [[ -n "${PHP_EXT_INIFILE}" ]]; then 264 if [[ -n "${PHP_EXT_INIFILE}" ]]; then
265 cat "${FILESDIR}/${PHP_EXT_INIFILE}" > "${inifile}" 265 cat "${FILESDIR}/${PHP_EXT_INIFILE}" >> "${ED}/${inifile}"
266 einfo "Added content of ${FILESDIR}/${PHP_EXT_INIFILE} to ${inifile}" 266 einfo "Added content of ${FILESDIR}/${PHP_EXT_INIFILE} to ${inifile}"
267 fi 267 fi
268
269
270
271
272 inidir="${inifile/${PHP_EXT_NAME}.ini/}" 268 inidir="${inifile/${PHP_EXT_NAME}.ini/}"
273 inidir="${inidir/ext/ext-active}" 269 inidir="${inidir/ext/ext-active}"
274 dodir "/${inidir}" 270 dodir "/${inidir}"
275 dosym "/${inifile}" "/${inifile/ext/ext-active}" 271 dosym "/${inifile}" "/${inifile/ext/ext-active}"
276 done 272 done

Legend:
Removed from v.1.30  
changed lines
  Added in v.1.31

  ViewVC Help
Powered by ViewVC 1.1.20