2009/10/5 Tomáš Chvátal <scarab...@gentoo.org>:
> Dne pondělí 05 Říjen 2009 23:31:03 Samuli Suominen napsal(a):
>> Jeremy Olexa (darkside) wrote:
>> > darkside    09/10/05 21:22:30
>> >
>> >   Modified:             ChangeLog xfconf-4.6.1.ebuild
>> >   Log:
>> >   Port Gentoo Prefix ebuild to gentoo-x86
>> >   (Portage version: 2.1.6.13/cvs/Linux x86_64)
>> > +           # Prefix compat. In Gentoo Linux, defaults to ${D}
>> > +           [[ -z ${ED} ]] && local ED=${D}
>>
>> Shouldn't this be moved into main Portage code instead of duplicating it
>> in ebuilds?

Hi, yes it should. It was brought up during the EAPI=3 planning cycle
and presented to the council for inclusion. It wasn't accepted in that
EAPI even though it is only a 3 line portage change (approx). So, it
will be duplicated in ebuilds and eclasses. Now, with this email I
fully expect a reply from /someone/ saying that "the Gentoo Prefix
implementation is just plain wrong" to which, I am going to silently
ignore.
-Jeremy

>>
>> > +           find "${ED}" -type f -name perllocal.pod -delete
>> > +           find "${ED}" -depth -mindepth 1 -type d -empty -delete
>>
> I put this stuff to eclass, but probably this SHOULD be handled by portage:
> this is the code i do (partial example :]):
>
> ...
> # Prefix compat:
> : ${EROOT:=${ROOT}}
> # Append missing trailing slash character
> [[ ${EROOT} = */ ]] || EROOT+="/"

Good idea, and public thanks for supporting Gentoo Prefix, Tomáš

-Jeremy

Reply via email to