Remove +with_default_names and use a specific path for unprefixed binaries
Ryan Schmidt
ryandesign at macports.org
Fri Aug 21 10:13:48 PDT 2009
On Aug 21, 2009, at 11:36, Rainer Müller wrote:
> 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.
It can be changed by editing the binpath variable in macports.conf if
you know what you're doing.
>> 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.
${prefix}/gnubin would be an mtree violation, which we try to avoid,
but ${prefix}/libexec/${name} could be reasonable, and has precedent.
More information about the macports-dev
mailing list