pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkgtools -- please do not hard code path
On Sun, May 13, 2007 at 08:41:28PM +0200, Tobias Nygren wrote:
> Yes, it should grab PKGSRCDIR from mk.conf. See patch I committed
> recently in pkg_rolling-replace. While we're at it, pkg_chk should
> use ${PREFIX}/etc/mk.conf instead of /usr/pkg/etc/mk.conf.
You can't query PKGSRCDIR from mk.conf without a Makefile. And you
shouldn't do things like that, but instead simply expect the user to set
it in the environment or as argument.
Joreg
Home |
Main Index |
Thread Index |
Old Index