Gentoo Archives: gentoo-dev

From: Torsten Veller <tove@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Re: perl-module.class review
Date: Mon, 21 Sep 2009 15:29:51
Message-Id: 20090921170238.TA9e1bd.tv@veller.net
In Reply to: Re: [gentoo-dev] perl-module.class review by Ciaran McCreesh
1 * Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>:
2 > Torsten Veller <tove@g.o> wrote:
3 > > +EXPORTED_FUNCTIONS="src_unpack src_compile src_test src_install"
4 >
5 > You're probably not the only one using this trick, so it might be wise
6 > to use PERL_EXPORTED_FUNCTIONS or somesuch to avoid name collisions
7 > with other eclasses.
8
9 git and x-modular use EXPORTED_FUNCTIONS and
10 cmake and xfconf use EXPF.
11
12 | eclass/git.eclass:EXPORT_FUNCTIONS ${EXPORTED_FUNCTIONS}
13 | eclass/x-modular.eclass:EXPORT_FUNCTIONS ${EXPORTED_FUNCTIONS}
14 |
15 | eclass/cmake-utils.eclass:EXPORT_FUNCTIONS ${EXPF}
16 | eclass/xfconf.eclass:EXPORT_FUNCTIONS ${EXPF}
17
18 I'll use PERL_EXPORTED_FUNCTIONS in the perl eclass.
19
20 Thanks :)

Replies

Subject Author
Re: [gentoo-dev] Re: perl-module.class review "Tomáš Chvátal" <scarabeus@g.o>