| 1 | # Copyright 1999-2007 Gentoo Foundation |
1 | # Copyright 1999-2007 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-base-r1.eclass,v 1.10 2009/12/30 01:05:42 hoffie Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/php-ext-base-r1.eclass,v 1.11 2010/07/26 16:19:00 mabi Exp $ |
| 4 | # |
4 | # |
| 5 | # Author: Tal Peer <coredumb@gentoo.org> |
5 | # Author: Tal Peer <coredumb@gentoo.org> |
| 6 | # Author: Stuart Herbert <stuart@gentoo.org> |
6 | # Author: Stuart Herbert <stuart@gentoo.org> |
| 7 | # Author: Luca Longinotti <chtekk@gentoo.org> |
7 | # Author: Luca Longinotti <chtekk@gentoo.org> |
| 8 | # Author: Jakub Moc <jakub@gentoo.org> (documentation) |
8 | # Author: Jakub Moc <jakub@gentoo.org> (documentation) |
| … | |
… | |
| 43 | |
43 | |
| 44 | |
44 | |
| 45 | php-ext-base-r1_buildinilist() { |
45 | php-ext-base-r1_buildinilist() { |
| 46 | # Work out the list of <ext>.ini files to edit/add to |
46 | # Work out the list of <ext>.ini files to edit/add to |
| 47 | if [[ -z "${PHPSAPILIST}" ]] ; then |
47 | if [[ -z "${PHPSAPILIST}" ]] ; then |
| 48 | PHPSAPILIST="apache2 cli cgi" |
48 | PHPSAPILIST="apache2 cli cgi fpm" |
| 49 | fi |
49 | fi |
| 50 | |
50 | |
| 51 | PHPINIFILELIST="" |
51 | PHPINIFILELIST="" |
| 52 | |
52 | |
| 53 | for x in ${PHPSAPILIST} ; do |
53 | for x in ${PHPSAPILIST} ; do |