Remove +with_default_names and use a specific path for unprefixed binaries

Markus Weissmann mww at macports.org
Fri Sep 18 04:20:47 PDT 2009


On Fri, September 18, 2009 12:55, Ryan Schmidt wrote:
>
> On Sep 18, 2009, at 01:44, Bryan Blackburn wrote:
>
> ...
>
> I'm not sure what "something" in ${prefix}/libexec/something should
> be. I suggested ${name} because that's what other ports use. Mark
> suggested "gnubin". "gnubin" would be convenient in that you would
> only have to add one path to your PATH to pick up all installed GNU
> utilities. On the other hand, might there be a reason when you would
> want only specific GNU utilities and not others? Might you want to
> only have the GNU sed and keep the BSD awk, say? If so, then putting
> each port's binaries in its own directory would give you that freedom.
> Heck, we could have it both ways: each port could create two symlinks
> to each program, one in ${prefix}/libexec/gnubin and one in ${prefix}/
> libexec/${name}. Then the user can use whichever path they like.
>

The logical extension to this would be, to have a separate libexec/${name}
directory for each port -- which imho is a bit excessive.
I assume that most people who select "with_default_names" variants are
those who prefer GNU tools to BSD tools (Mac OS X respectively).
In this case, ONE separate libexec/gnubin or libexec/gnu directory with
un-prefixed executables would do. I you want the power to select the name
for each and every executable, then for gods sake, make your own directory
with symlinks: Its the same amount of work then.


Regards,

-Markus

---
http://www.mweissmann.de/
http://www.macports.org/



More information about the macports-dev mailing list