tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkgsrc/mk/tools/replace.mk vs. pkgsrc/archivers/gtar-base/Makefile



On Wed, Mar 23, 2011 at 5:13 AM, Thomas Klausner <wiz%netbsd.org@localhost> 
wrote:
> On Mon, Mar 21, 2011 at 05:55:55PM -0500, Tim Zingelman wrote:
>> Anyone see a problem with the following patch to
>> pkgsrc/mk/tools/replace.mk that makes the name logic for
>> TOOLS_PATH.gtar match the logic in the
>> pkgsrc/archivers/gtar-base/Makefile?
>> (the logic in the makefile says use GNU_PROGRAM_PREFIX unless it is
>> set to "" in which case override it to "g" (so that gtar does not
>> conflict with a base tar I suppose.)
>
> Then you still have problems when someone sets GTAR_PROGRAM_PREFIX.

true... I could account for that as well in a patch... but,

> I think we should desupport the GNU_PROGRAM_PREFIX variable instead.
> If you use pkgsrc and have other tar implementations, just put
> ${PREFIX}/bin before /usr/bin in your path...

I'd be fine with that as well, since I set GNU_PROGRAM_PREFIX to
nothing... but currently the default is 'g' so we'd potentially be
affecting a lot of folks by removing it.   (and of course I'd hate to
see it go away and have the 'g' prefix forced upon me.)

 - Tim


Home | Main Index | Thread Index | Old Index