Gentoo Archives: gentoo-science

From: Reinis Danne <rei4dan@×××××.com>
To: gentoo-science@l.g.o
Subject: [gentoo-science] [PATCH 03/10] alternatives-2.eclass: Move EXPORT_FUNCTIONS to top
Date: Mon, 20 Jan 2014 17:53:56
Message-Id: 1390240392-12173-4-git-send-email-rei4dan@gmail.com
In Reply to: [gentoo-science] [PATCH 00/10] alternatives-2.eclass updates by Reinis Danne
1 ---
2 eclass/alternatives-2.eclass | 4 ++--
3 1 file changed, 2 insertions(+), 2 deletions(-)
4
5 diff --git a/eclass/alternatives-2.eclass b/eclass/alternatives-2.eclass
6 index c466eed..a431d26 100644
7 --- a/eclass/alternatives-2.eclass
8 +++ b/eclass/alternatives-2.eclass
9 @@ -18,6 +18,8 @@ RDEPEND="${DEPEND}
10 !app-admin/eselect-cblas
11 !app-admin/eselect-lapack"
12
13 +EXPORT_FUNCTIONS pkg_postinst pkg_prerm
14 +
15 # alternatives_for alternative provider importance source target [ source target [...]]
16 alternatives_for() {
17 #echo alternatives_for "${@}"
18 @@ -156,5 +158,3 @@ alternatives-2_pkg_prerm() {
19 fi
20 done
21 }
22 -
23 -EXPORT_FUNCTIONS pkg_postinst pkg_prerm
24 --
25 1.8.5.3