Subject: Re: distinguish between building the system vs. packages
To: Marton Fabo <morton@eik.bme.hu>
From: Juan RP <juan@xtrarom.org>
List: current-users
Date: 10/29/2005 13:44:28
On Sat, 29 Oct 2005 13:42:51 +0200
Marton Fabo <morton@eik.bme.hu> wrote:

> 
> Hello!
> 
> What is a reliable way to distinguish between building NetBSD vs.
> pkgsrc in /etc/mk.conf? Or, is there a location to set options
> specific to NetBSD builds and to pkgsrc (as opposed to the
> shared /etc/mk.conf)?

Something like:

.ifdef BSD_PKG_MK

# pkgsrc stuff

.else

# NetBSD base system stuff

.endif