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 09/14] linux-mod.eclass: Move EXPORT_FUNCTIONS below inherit
Date: Thu, 02 Sep 2021 10:02:20
Message-Id: 20210902095911.25263-9-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/linux-mod.eclass | 5 +++--
4 1 file changed, 3 insertions(+), 2 deletions(-)
5
6 diff --git a/eclass/linux-mod.eclass b/eclass/linux-mod.eclass
7 index eda5e9aee013..4e56b609d025 100644
8 --- a/eclass/linux-mod.eclass
9 +++ b/eclass/linux-mod.eclass
10 @@ -153,8 +153,6 @@ case ${EAPI:-0} in
11 *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
12 esac
13
14 -EXPORT_FUNCTIONS pkg_setup pkg_preinst pkg_postinst src_install src_compile pkg_postrm
15 -
16 if [[ -z ${_LINUX_MOD_ECLASS} ]] ; then
17 _LINUX_MOD_ECLASS=1
18
19 @@ -796,3 +794,6 @@ linux-mod_pkg_postrm() {
20 }
21
22 fi
23 +
24 +EXPORT_FUNCTIONS pkg_setup src_compile src_install \
25 + pkg_preinst pkg_postinst pkg_postrm
26 --
27 2.33.0