Subject: Re: GNU_PROGRAM_PREFIX and bootstrap
To: None <>
From: Thomas Klausner <>
List: tech-pkg
Date: 01/20/2003 23:45:40
On Mon, Jan 20, 2003 at 12:45:33PM -0500, Jan Schaumann wrote:
> GNU tar, when installed via pkgsrc from archivers/gtar installs as
> ${PREFIX}/bin/${GNU_PROGAM_PREFIX}tar, which is generally
> /usr/pkg/bin/gtar.
> When bootstrapping on non-NetBSD systems, we determine if pax is needed,
> and if so build and install it as well as specifying GTAR in the
> mk.conf.example file as ${PREFIX}/bin/tar.
> Am I correct assuming that this should be
> ${PREFIX}/bin/${GNU_PROGAM_PREFIX}tar or am I overlooking something?

No, it should be fixed to work like the gmake package: Make sure
a ${PREFIX}/bin/gtar exists independent of ${GNU_PROGRAM_PREFIX},
since it's needed for pkgsrc, and make pkgsrc use ${PREFIX}/bin/gtar.

Otherwise it won't work if the user decides to change ${GNU_PROGRAM_PREFIX}
(which is certainly not wise, but not forbidden...).