Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 60399 - BSD which behaviour differs from GNU which, replacement required on OSX
Summary: BSD which behaviour differs from GNU which, replacement required on OSX
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: PPC Linux
: High minor (vote)
Assignee: osx porters
URL:
Whiteboard:
Keywords:
: 67475 100669 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-08-15 02:05 UTC by Trixtrax
Modified: 2006-06-22 10:41 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
which-2.16 patch for g prefix on collision-protect+ppc-macos (which-2.16.ebuild.patch,701 bytes, patch)
2005-10-10 11:57 UTC, Hasan Khalil (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Trixtrax 2004-08-15 02:05:24 UTC
Which is found on MacOS and depended on by some packages, such as the aspell dicts, clamassassain, and rpm2targz.

Reproducible: Always
Steps to Reproduce:
1.emerge a program that depends on which
2.
3.
Comment 1 Hasan Khalil (RETIRED) gentoo-dev 2004-09-30 13:39:29 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?
Comment 2 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-10-13 17:18:14 UTC
*** Bug 67475 has been marked as a duplicate of this bug. ***
Comment 3 Hasan Khalil (RETIRED) gentoo-dev 2004-10-14 11:48:51 UTC
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?
Comment 4 Trixtrax 2004-11-05 01:40:19 UTC
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. 
Comment 5 Fabian Groffen gentoo-dev 2005-08-28 12:18:49 UTC
*** Bug 100669 has been marked as a duplicate of this bug. ***
Comment 6 Fabian Groffen gentoo-dev 2005-08-28 12:25:49 UTC
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)
Comment 7 Lina Pezzella (RETIRED) gentoo-dev 2005-08-31 08:42:38 UTC
We could do what we did with sed and prefix GNU which with the "g"...
Comment 8 Hasan Khalil (RETIRED) gentoo-dev 2005-10-10 11:57:59 UTC
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?
Comment 9 Nick Dimiduk (RETIRED) gentoo-dev 2005-10-10 22:19:24 UTC
This works for me.
Comment 10 Fabian Groffen gentoo-dev 2006-06-22 10:38:00 UTC
This is more or less tackled by Diego's efforts to de-GNU-ify the tree.