GNU make not installed

Dmitri Nikulin dnikulin at gmail.com
Tue Apr 18 19:21:26 PDT 2006


On 4/19/06, Justin C. Sherrill <justin at xxxxxxxxxxxxxxxxxx> wrote:
> I can't find a post I did about the idea, but we should be able to set up
> http://pkgsrc.dragonflybsd.org/pkgname.tgz and have a redirect script
> issue a redirect to a random mirror that pkg_add can handle.  We could
> then put that in the default install so that 'pkg_add pkgname' would work
> immediately, as it should.

It's not quite that simple, because setting PKG_PATH breaks pkgsrc
itself. The closest you could achieve is what I do, making an alias
for pkg_add (preferably not with the same name) that does 'env
PKG_PATH=foo'. So the environment variable is set only for that
process, and so won't affect pkgsrc or indeed anything else.

pkg_chk cheats by using a different environment variable (can also be
set in mk.conf) called PACKAGES. pkg_add does not do this.

  -- Dmitri Nikulin






More information about the Users mailing list