Gentoo Archives: gentoo-dev

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-dev@l.g.o
Cc: "Ulrich Müller" <ulm@g.o>
Subject: [gentoo-dev] [PATCH 04/14] java-pkg-2.eclass: Move EXPORT_FUNCTIONS below inherit
Date: Thu, 02 Sep 2021 10:00:42
Message-Id: 20210902095911.25263-4-ulm@gentoo.org
In Reply to: [gentoo-dev] [PATCH 01/14] apache-module.eclass: Move EXPORT_FUNCTIONS below inherit by "Ulrich Müller"
1 Signed-off-by: Ulrich Müller <ulm@g.o>
2 ---
3 eclass/java-pkg-2.eclass | 4 ++--
4 1 file changed, 2 insertions(+), 2 deletions(-)
5
6 diff --git a/eclass/java-pkg-2.eclass b/eclass/java-pkg-2.eclass
7 index 4d5cb7665728..11f508cf349f 100644
8 --- a/eclass/java-pkg-2.eclass
9 +++ b/eclass/java-pkg-2.eclass
10 @@ -17,8 +17,6 @@ case ${EAPI:-0} in
11 *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
12 esac
13
14 -EXPORT_FUNCTIONS pkg_setup src_prepare src_compile pkg_preinst
15 -
16 if [[ -z ${_JAVA_PKG_2_ECLASS} ]] ; then
17 _JAVA_PKG_2_ECLASS=1
18
19 @@ -158,3 +156,5 @@ java-pkg-2_pkg_preinst() {
20 }
21
22 fi
23 +
24 +EXPORT_FUNCTIONS pkg_setup src_prepare src_compile pkg_preinst
25 --
26 2.33.0