Gentoo Archives: gentoo-dev

From: Jeremy Olexa <darkside@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in xfce-base/xfconf: ChangeLog xfconf-4.6.1.ebuild
Date: Mon, 05 Oct 2009 21:49:57
Message-Id: 90b936c0910051449l5183f3f6l5c6daa7985cfb848@mail.gmail.com
In Reply to: Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in xfce-base/xfconf: ChangeLog xfconf-4.6.1.ebuild by "Tomáš Chvátal"
1 2009/10/5 Tomáš Chvátal <scarabeus@g.o>:
2 > Dne pondělí 05 Říjen 2009 23:31:03 Samuli Suominen napsal(a):
3 >> Jeremy Olexa (darkside) wrote:
4 >> > darkside    09/10/05 21:22:30
5 >> >
6 >> >   Modified:             ChangeLog xfconf-4.6.1.ebuild
7 >> >   Log:
8 >> >   Port Gentoo Prefix ebuild to gentoo-x86
9 >> >   (Portage version: 2.1.6.13/cvs/Linux x86_64)
10 >> > +           # Prefix compat. In Gentoo Linux, defaults to ${D}
11 >> > +           [[ -z ${ED} ]] && local ED=${D}
12 >>
13 >> Shouldn't this be moved into main Portage code instead of duplicating it
14 >> in ebuilds?
15
16 Hi, yes it should. It was brought up during the EAPI=3 planning cycle
17 and presented to the council for inclusion. It wasn't accepted in that
18 EAPI even though it is only a 3 line portage change (approx). So, it
19 will be duplicated in ebuilds and eclasses. Now, with this email I
20 fully expect a reply from /someone/ saying that "the Gentoo Prefix
21 implementation is just plain wrong" to which, I am going to silently
22 ignore.
23 -Jeremy
24
25 >>
26 >> > +           find "${ED}" -type f -name perllocal.pod -delete
27 >> > +           find "${ED}" -depth -mindepth 1 -type d -empty -delete
28 >>
29 > I put this stuff to eclass, but probably this SHOULD be handled by portage:
30 > this is the code i do (partial example :]):
31 >
32 > ...
33 > # Prefix compat:
34 > : ${EROOT:=${ROOT}}
35 > # Append missing trailing slash character
36 > [[ ${EROOT} = */ ]] || EROOT+="/"
37
38 Good idea, and public thanks for supporting Gentoo Prefix, Tomáš
39
40 -Jeremy

Replies