Subject: Re: hardcoded prefix path in pkgtools/pkg_install
To: grant beattie <>
From: Douwe Kiela <>
List: tech-pkg
Date: 09/28/2003 14:47:03

> On Sat, Sep 27, 2003 at 08:52:04PM +0200, Douwe Kiela wrote:
> > /usr/pkg/sbin/pkg_admin: not found
> > /usr/pkg/sbin/pkg_admin: not found
> > ===> Checking for vulnerabilities in pkg_install-20030923
> > /usr/pkg/sbin/pkg_admin: not found
> what does your /etc/mk.conf contain?
> if you pass --prefix=/usr/blah to 'bootstrap', the generated
> mk.conf.example should contain the line:
> LOCALBASE=/usr/blah
> if LOCALBASE is not defined, it defaults to /usr/pkg. is it
> possible you are missing LOCALBASE?
Yes, that's it! You're right.. I didn't copy the mk.conf.example but
used one I made myself and I forgot that. Thanks..

But that still doesn't solve the hardcoded, /usr/pkg is hardcoded in all the
in pkgtools/pkg_install and also in Am I overlooking something
again? :P