Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Wed, 31 Mar 2021 05:20:31
Message-Id: 1617167990.a4dd4d26dd77d95dcf138cf489d469b70f75f001.sam@gentoo
1 commit: a4dd4d26dd77d95dcf138cf489d469b70f75f001
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Wed Mar 31 04:27:44 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Wed Mar 31 05:19:50 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4dd4d26
7
8 php-ext-source-r3.eclass: mark PHP_EXT_{NAME, NEEDED_USE} as @PRE_INHERIT
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 eclass/php-ext-source-r3.eclass | 4 +++-
13 1 file changed, 3 insertions(+), 1 deletion(-)
14
15 diff --git a/eclass/php-ext-source-r3.eclass b/eclass/php-ext-source-r3.eclass
16 index b2eae22fb74..a782081b72a 100644
17 --- a/eclass/php-ext-source-r3.eclass
18 +++ b/eclass/php-ext-source-r3.eclass
19 @@ -1,4 +1,4 @@
20 -# Copyright 1999-2019 Gentoo Authors
21 +# Copyright 1999-2021 Gentoo Authors
22 # Distributed under the terms of the GNU General Public License v2
23
24 # @ECLASS: php-ext-source-r3.eclass
25 @@ -22,6 +22,7 @@ case ${EAPI:-0} in
26 esac
27
28 # @ECLASS-VARIABLE: PHP_EXT_NAME
29 +# @PRE_INHERIT
30 # @REQUIRED
31 # @DESCRIPTION:
32 # The extension name. This must be set, otherwise the eclass dies.
33 @@ -87,6 +88,7 @@ esac
34 : ${PHP_INI_NAME:=${PHP_EXT_NAME}}
35
36 # @ECLASS-VARIABLE: PHP_EXT_NEEDED_USE
37 +# @PRE_INHERIT
38 # @DEFAULT_UNSET
39 # @DESCRIPTION:
40 # A list of USE flags to append to each PHP target selected