Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 92588

Summary: sys-apps/findutils with g prefix on non-gnu userlands
Product: Gentoo/Alt Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: OtherAssignee: Gentoo/BSD Team <bsd+disabled>
Status: RESOLVED FIXED    
Severity: enhancement CC: base-system, ciaran.mccreesh, j4rg0n, radek
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Ebuild patch

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2005-05-14 06:36:36 UTC
The attached patch applied over current ebuild installs findutils with g prefix on non-gnu userlands. Also if gxargs is unlikely to be needed, some script just depend on gnu's find behaviour, so having gfind at hand is useful.

As Ciaran is listed as maintainer and he said he doesn't like g prefix on linux (and in this case I think this is quite redundant having both notations), I haven't used the same plan as gmake and similar.

Thanks, Diego
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-05-14 06:39:59 UTC
*** Bug 92589 has been marked as a duplicate of this bug. ***
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-05-14 06:40:51 UTC
Created attachment 58867 [details, diff]
Ebuild patch
Comment 3 SpanKY gentoo-dev 2005-05-14 10:59:27 UTC
better:

local myconf=""
[[ ${USERLAND} != "GNU" ]] && myconf="--program-prefix=g"
econf $(use_enable nls) || die


ciaran: any reason findutils uses `einstall` ?  4.2.20 has Makefile.am which implies it was built with new enough autotools to support DESTDIR ...
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-05-14 11:08:44 UTC
Hmm if you don't pass ${myconf} shouldn't it just ignore --program-prefix=g ?
Comment 5 SpanKY gentoo-dev 2005-05-14 11:27:30 UTC
yes, i forgot to type that in :p
Comment 6 Ciaran McCreesh 2005-05-14 11:38:12 UTC
It uses einstall because I haven't gotten around to checking that make destdir works yet. I'll get to this later today. BSD people -- do you need a rev bump for this?
Comment 7 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-05-14 11:44:41 UTC
I don't think we need a revbump, I put a modified ebuild in the overlay waiting for this being in the maintree, so there's no problem with it I think.
Comment 8 Ciaran McCreesh 2005-05-14 13:36:10 UTC
plz2testktnxbye