Gentoo Archives: gentoo-dev

From: "Tomáš Chvátal" <scarabeus@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:39:18
Message-Id: 200910052337.37590.scarabeus@gentoo.org
In Reply to: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in xfce-base/xfconf: ChangeLog xfconf-4.6.1.ebuild by Samuli Suominen
1 Dne pondělí 05 Říjen 2009 23:31:03 Samuli Suominen napsal(a):
2 > Jeremy Olexa (darkside) wrote:
3 > > darkside 09/10/05 21:22:30
4 > >
5 > > Modified: ChangeLog xfconf-4.6.1.ebuild
6 > > Log:
7 > > Port Gentoo Prefix ebuild to gentoo-x86
8 > > (Portage version: 2.1.6.13/cvs/Linux x86_64)
9 > > + # Prefix compat. In Gentoo Linux, defaults to ${D}
10 > > + [[ -z ${ED} ]] && local ED=${D}
11 >
12 > Shouldn't this be moved into main Portage code instead of duplicating it
13 > in ebuilds?
14 >
15 > > + find "${ED}" -type f -name perllocal.pod -delete
16 > > + find "${ED}" -depth -mindepth 1 -type d -empty -delete
17 >
18 I put this stuff to eclass, but probably this SHOULD be handled by portage:
19 this is the code i do (partial example :]):
20
21 ...
22 # Prefix compat:
23 : ${EROOT:=${ROOT}}
24 # Append missing trailing slash character
25 [[ ${EROOT} = */ ]] || EROOT+="/"
26 ...

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies