/[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.23 Revision 1.24
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 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.23 2012/01/15 17:18:48 olemarkus Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/php-ext-source-r2.eclass,v 1.24 2012/01/19 10:12:44 mabi 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:
138 138
139# @VARIABLE: my_conf 139# @VARIABLE: my_conf
140# @DESCRIPTION: 140# @DESCRIPTION:
141# Set this in the ebuild to pass configure options to econf. 141# Set this in the ebuild to pass configure options to econf.
142php-ext-source-r2_src_configure() { 142php-ext-source-r2_src_configure() {
143 # net-snmp creates this file #385403
144 addpredict /usr/share/snmp/mibs/.index
145
143 local slot 146 local slot
144 for slot in $(php_get_slots); do 147 for slot in $(php_get_slots); do
145 php_init_slot_env ${slot} 148 php_init_slot_env ${slot}
146 # Set the correct config options 149 # Set the correct config options
147 econf --with-php-config=${PHPCONFIG} ${my_conf} || die "Unable to configure code to compile" 150 econf --with-php-config=${PHPCONFIG} ${my_conf} || die "Unable to configure code to compile"

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.24

  ViewVC Help
Powered by ViewVC 1.1.20