Gentoo Archives: gentoo-commits

From: "Christian Hoffmann (hoffie)" <hoffie@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: php-ext-source-r1.eclass
Date: Fri, 09 May 2008 12:35:08
Message-Id: E1JuRoX-0001CQ-Jl@stork.gentoo.org
1 hoffie 08/05/09 12:35:05
2
3 Modified: php-ext-source-r1.eclass
4 Log:
5 yet another transition change for bug 220519
6
7 Revision Changes Path
8 1.18 eclass/php-ext-source-r1.eclass
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/php-ext-source-r1.eclass?rev=1.18&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/php-ext-source-r1.eclass?rev=1.18&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/php-ext-source-r1.eclass?r1=1.17&r2=1.18
13
14 Index: php-ext-source-r1.eclass
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/php-ext-source-r1.eclass,v
17 retrieving revision 1.17
18 retrieving revision 1.18
19 diff -u -r1.17 -r1.18
20 --- php-ext-source-r1.eclass 7 May 2008 16:07:57 -0000 1.17
21 +++ php-ext-source-r1.eclass 9 May 2008 12:35:05 -0000 1.18
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-source-r1.eclass,v 1.17 2008/05/07 16:07:57 hoffie Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/php-ext-source-r1.eclass,v 1.18 2008/05/09 12:35:05 hoffie Exp $
27 #
28 # Author: Tal Peer <coredumb@g.o>
29 # Author: Stuart Herbert <stuart@g.o>
30 @@ -37,37 +37,38 @@
31
32 # @FUNCTION: php-ext-source-r1_src_unpack
33 # @DESCRIPTION:
34 -# Default src_unpack to allow for moving the phpize call to src_unpack
35 -# gracefully (we need to fix all ebuilds to explicitly run src_unpack if
36 -# they have their own)
37 -## Runs phpize and autotools in addition to the standard src_unpack
38 -##
39 -## @VARIABLE: PHP_EXT_SKIP_PHPIZE
40 -## @DESCRIPTION:
41 -## phpize will be run by default for all ebuilds that use php-ext-source-r1_src_compile.
42 -## Set PHP_EXT_SKIP_PHPIZE="yes" in your ebuild if you do not want to run phpize.
43 +# runs standard src_unpack + _phpize
44 +#
45 +# @VARIABLE: PHP_EXT_SKIP_PHPIZE
46 +# @DESCRIPTION:
47 +# phpize will be run by default for all ebuilds that use
48 +# php-ext-source-r1_src_unpack
49 +# Set PHP_EXT_SKIP_PHPIZE="yes" in your ebuild if you do not want to run phpize.
50 php-ext-source-r1_src_unpack() {
51 unpack ${A}
52 cd "${S}"
53 + if [[ "${PHP_EXT_SKIP_PHPIZE}" != 'yes' ]] ; then
54 + php-ext-source-r1_phpize
55 + fi
56 +}
57 +
58 +# @FUNCTION php-ext-source-r1_phpize
59 +# @DESCRIPTION:
60 +# Runs phpize and autotools in addition to the standard src_unpack
61 +php-ext-source-r1_phpize() {
62 # # Create configure out of config.m4
63 -# if [[ "${PHP_EXT_SKIP_PHPIZE}" != 'yes' ]] ; then
64 -# ${PHPIZE}
65 -# # force run of libtoolize and regeneration of related autotools
66 -# # files (bug 220519)
67 -# rm aclocal.m4
68 -# eautoreconf
69 -# fi
70 +# ${PHPIZE}
71 +# # force run of libtoolize and regeneration of related autotools
72 +# # files (bug 220519)
73 +# rm aclocal.m4
74 +# eautoreconf
75 + :
76 }
77
78 # @FUNCTION: php-ext-source-r1_src_compile
79 # @DESCRIPTION:
80 # Takes care of standard compile for PHP extensions (modules).
81
82 -# @VARIABLE: PHP_EXT_SKIP_PHPIZE
83 -# @DESCRIPTION:
84 -# phpize will be run by default for all ebuilds that use php-ext-source-r1_src_compile.
85 -# Set PHP_EXT_SKIP_PHPIZE="yes" in your ebuild if you do not want to run phpize.
86 -
87 # @VARIABLE: my_conf
88 # @DESCRIPTION:
89 # Set this in the ebuild to pass configure options to econf.
90
91
92
93 --
94 gentoo-commits@l.g.o mailing list