From: | "Christian Hoffmann (hoffie)" <hoffie@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in eclass: php-ext-base-r1.eclass |
Date: | Wed, 30 Dec 2009 01:05:45 |
Message-Id: | E1NPn0Q-0007LD-Hm@stork.gentoo.org |
1 | hoffie 09/12/30 01:05:42 |
2 | |
3 | Modified: php-ext-base-r1.eclass |
4 | Log: |
5 | php-5.3 compatibility (5.3 supports zend_extension= in php.ini's only, without any suffix) |
6 | |
7 | Revision Changes Path |
8 | 1.10 eclass/php-ext-base-r1.eclass |
9 | |
10 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/php-ext-base-r1.eclass?rev=1.10&view=markup |
11 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/php-ext-base-r1.eclass?rev=1.10&content-type=text/plain |
12 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/php-ext-base-r1.eclass?r1=1.9&r2=1.10 |
13 | |
14 | Index: php-ext-base-r1.eclass |
15 | =================================================================== |
16 | RCS file: /var/cvsroot/gentoo-x86/eclass/php-ext-base-r1.eclass,v |
17 | retrieving revision 1.9 |
18 | retrieving revision 1.10 |
19 | diff -u -r1.9 -r1.10 |
20 | --- php-ext-base-r1.eclass 29 Nov 2007 23:12:13 -0000 1.9 |
21 | +++ php-ext-base-r1.eclass 30 Dec 2009 01:05:42 -0000 1.10 |
22 | @@ -1,6 +1,6 @@ |
23 | # Copyright 1999-2007 Gentoo Foundation |
24 | # Distributed under the terms of the GNU General Public License v2 |
25 | -# $Header: /var/cvsroot/gentoo-x86/eclass/php-ext-base-r1.eclass,v 1.9 2007/11/29 23:12:13 jokey Exp $ |
26 | +# $Header: /var/cvsroot/gentoo-x86/eclass/php-ext-base-r1.eclass,v 1.10 2009/12/30 01:05:42 hoffie Exp $ |
27 | # |
28 | # Author: Tal Peer <coredumb@g.o> |
29 | # Author: Stuart Herbert <stuart@g.o> |
30 | @@ -104,6 +104,14 @@ |
31 | fi |
32 | ext_file="${EXT_DIR}/$1" |
33 | fi |
34 | + |
35 | + # php-5.3 unifies zend_extension loading and just requires the |
36 | + # zend_extension keyword with no suffix |
37 | + # TODO: drop previous code and this check once <php-5.3 support is |
38 | + # discontinued |
39 | + if has_version '>=dev-lang/php-5.3' ; then |
40 | + ext_type="zend_extension" |
41 | + fi |
42 | else |
43 | # We don't need the full path for normal extensions! |
44 | ext_type="extension" |