Summary: | BSD which behaviour differs from GNU which, replacement required on OSX | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Trixtrax <trixtrax> |
Component: | New packages | Assignee: | osx porters <osx> |
Status: | RESOLVED WONTFIX | ||
Severity: | minor | CC: | ciaran.mccreesh, mrudat, ndimiduk |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | PPC | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | which-2.16 patch for g prefix on collision-protect+ppc-macos |
Description
Trixtrax
2004-08-15 02:05:24 UTC
macos has the BSD which, whereas portage has the GNU which. big difference there. ideas? is this to be another g<util>? is there a point? *** Bug 67475 has been marked as a duplicate of this bug. *** perhaps we can just add sys-apps/which (without a version number) to package.provided? I think this is really the only solution that's 'correct' and still useable at the same time. Ciaran: any QA advice on this? The aspell dicts, at least, need a switch thats not present in the Apple shipped version. Without a version # - yeah, that's what I was thinking when I submitted this, I agree that it'd be the only "correct"/usable way. *** Bug 100669 has been marked as a duplicate of this bug. *** Somehow we need a GNU compatible which for applications that depend on sys-apps/which on OSX. Current application examples are aspell (RDEPEND) and dev-tex/rubber (DEPEND) We could do what we did with sed and prefix GNU which with the "g"... Created attachment 70308 [details, diff]
which-2.16 patch for g prefix on collision-protect+ppc-macos
This is a simple patch to build a 'gwhich' on ppc-macos with collision-protect.
Then we'd just need to change the profile.bashrc and we're all set. What say
yee?
This works for me. This is more or less tackled by Diego's efforts to de-GNU-ify the tree. |