[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Moving mk.conf
On Mon, 13 Dec 2010 07:10:58 +0300, Aleksej Saushev <asau%inbox.ru@localhost>
On moving mk.conf.
The most reasonable approach I can come up, is installing default
with this content:
# Put your non-pkgsrc configuration here.
This is basically what I use.
This is wrong: mk.conf relates to pkgsrc, not system package
BTW, that's dubious, you hardcode path to /usr/pkg (which is completely
arbitrary, so how is it supposed to work when someone bootstraps with a
If you want to share a common core between multiple pkgsrc setups, just
have PKGSRCDIR/conf/mk.conf (whatever its name, just put it below
PKGSRCDIR), and .sinclude /etc/mk.conf (which can be done by added by
default, if you want to.
That way, you retain your "global configuration" file (with the
additional benefit of not breaking the present setup), and still have
the possiblity to tweak all local pkgsrc tree in any way you like.
All paths in pkgsrc are relative. It's not obvious that its behaviour
can depend on a file living _outside_ its base dir. I hardly cannot see
the reason why it was made that way by default with NetBSD...
Main Index |
Thread Index |