DragonFly BSD
DragonFly users List (threaded) for 2006-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: GNU make not installed


From: "Dmitri Nikulin" <dnikulin@xxxxxxxxx>
Date: Wed, 19 Apr 2006 12:20:58 +1000

On 4/19/06, Justin C. Sherrill <justin@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




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