Hi Rainer. Thanks for your quick reply. On Dec 22, 2007 9:41 PM, Rainer Müller <raimue@macports.org> wrote:
js wrote: [...]
Yes, I can easily avoid this by "port edit corefiles" and drop "program-prefix" but I thought if most of the MacPorts users wouldn't want "g", it might be better to fix this portfile.
No need to edit it manually, use port install coreutils +with_default_names This will install the binaries with the default names, i.e. without the prefix "g".
didn't notice that... Good to know, thanks!
So let me ask this, "Do you like to have gls, guniq in your /opt/local/bin? Is there any case that removing "g" prefix causes any problems?
I think they are by default off because you expect ls from BSD and not from GNU on Mac OS X by default. It might break other shell scripts.
I doubt it. I think almost all scripts starts with "#!/bin/bla" or "#!/usr/bin/bla" so installing GNUs in /opt/local/bin will not break anything, if you don't run a script like "sh somescript.sh" or "awk -f somescript.awk"