Remove +with_default_names and use a specific path for unprefixed binaries

Rainer Müller raimue at macports.org
Fri Aug 21 09:36:54 PDT 2009


On 2009-08-21 17:57 , Blair Zajac wrote:
> This ticket was opened
> 
> https://trac.macports.org/ticket/20748
> 
> Does building a port modify PATH so it would ignore the gnubin  
> directory?

Yes. The environment variable PATH is by default set to
${prefix}/bin:${prefix}/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11/bin
during the configure and build phases.

> I'm happy with the current setup, don't mind tweaking the occasional  
> Portfile which I do, so don't really want to move them into a new  
> directory.

You would only have to add ${prefix}/gnubin at the front of your PATH to
use the GNU versions.

Rainer


More information about the macports-dev mailing list