Gentoo Archives: gentoo-commits

From: "Ole Markus With (olemarkus)" <olemarkus@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: php-ext-source-r2.eclass
Date: Thu, 12 Jan 2012 11:10:58
Message-Id: 20120112111047.4E0F62004B@flycatcher.gentoo.org
1 olemarkus 12/01/12 11:10:47
2
3 Modified: php-ext-source-r2.eclass
4 Log:
5 Fixed a dependency issue where php would be pulled in for e.g ming even without php USE flag being set (bug 398649)
6
7 Revision Changes Path
8 1.20 eclass/php-ext-source-r2.eclass
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/php-ext-source-r2.eclass?rev=1.20&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/php-ext-source-r2.eclass?rev=1.20&content-type=text/plain
12 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/php-ext-source-r2.eclass?r1=1.19&r2=1.20
13
14 Index: php-ext-source-r2.eclass
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/php-ext-source-r2.eclass,v
17 retrieving revision 1.19
18 retrieving revision 1.20
19 diff -u -r1.19 -r1.20
20 --- php-ext-source-r2.eclass 11 Jan 2012 18:30:36 -0000 1.19
21 +++ php-ext-source-r2.eclass 12 Jan 2012 11:10:47 -0000 1.20
22 @@ -1,6 +1,6 @@
23 # Copyright 1999-2011 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25 -# $Header: /var/cvsroot/gentoo-x86/eclass/php-ext-source-r2.eclass,v 1.19 2012/01/11 18:30:36 olemarkus Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/php-ext-source-r2.eclass,v 1.20 2012/01/12 11:10:47 olemarkus Exp $
27
28 # @ECLASS: php-ext-source-r2.eclass
29 # @MAINTAINER:
30 @@ -86,7 +86,11 @@
31 ${PHP_EXT_OPTIONAL_USE:+ )}"
32
33 DEPEND="${DEPEND}
34 -${PHPDEPEND}"
35 + ${PHP_EXT_OPTIONAL_USE}${PHP_EXT_OPTIONAL_USE:+? ( }
36 + || ( ${SELFDEPEND} )
37 + ${PHPDEPEND}
38 + ${PHP_EXT_OPTIONAL_USE:+ )}
39 +"
40
41 # @FUNCTION: php-ext-source-r2_src_unpack
42 # @DESCRIPTION: