Consistent --program-prefix for GNU programs
Blair Zajac
blair at orcaware.com
Tue Oct 10 12:41:38 PDT 2006
Landon Fuller wrote:
>
> On Oct 9, 2006, at 20:42, Blair Zajac wrote:
>
>> Some of our GNU ports use a --program-prefix of gnu:
>>
>> findutils
>> gnutar
>> gnumake-devel
>> gsed
>> indent
>>
>> while others use g:
>>
>> binutils
>> coreutils
>> diffutils
>> gmake
>> gpatch
>> gtime
>> gunits
>> gwhich
>> libtool
>> libtool-devel
>> m4
>>
>> It would be nice to have a MacPorts' standard here and it looks like
>> changing the gnu to the g ones would be less work
>
> That'd be a distinct improvement.
>
>>
>> I'd also like all of these ports to have a variants to disable the
>> program-prefix. Currently, only diffutils has a variant named
>> 'normal', which is not a good name in my opinion. I'd like to see a
>> variant named no-program-prefix.
>
> If a port depends explicitly on GNU sed, how does it determine which
> path does it use? eg, ${prefix}/bin/gsed or ${prefix}/bin/sed ?
Maybe instead, we always use --program-prefix to always have the g* named files,
but if the +no_program_prefix variant is set, we also create symlinks for all
the files in the bin and sbin directories. That way we have both and everything
can work fine.
Regards,
Blair
--
Blair Zajac, Ph.D.
<blair at orcaware.com>
Subversion training, consulting and support
http://www.orcaware.com/svn/
More information about the macports-dev
mailing list