pkgsrc-Users archive

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

Re: /etc/mk.conf gets in the way of building a new kernel



On Sun, 19 Oct 2008 19:30:27 +0900, ???????? <nbsd4ever%gmail.com@localhost> 
wrote:

> Is there a way to have a pkgsrc-specific "/etc/mk.conf?"  For example,
> I notice there
> is a "/usr/pkg/etc/mk.conf."  Can I just have that one, and do away
> with /etc/mk.conf
> altogether?
>
> If I don't move (or remove) /etc/mk.conf, then when I go to build a
> custom kernel,
> make encounters a bunch of fatal errors (malformed conditionals).

You can put pkgsrc specific parts in
.ifdef BSD_PKG_MK
.endif

-- 
"Of course I love NetBSD":-)
OBATA Akio / obache%NetBSD.org@localhost


Home | Main Index | Thread Index | Old Index