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?
> 
> > +           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+="/"
...

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to