Subject: Re: Trouble with mk.conf
To: None <netbsd-help@netbsd.org>
From: Juan RP <juan@xtraeme.dyndns.org>
List: netbsd-help
Date: 12/11/2002 23:54:21
On Wed, 11 Dec 2002 23:44:03 +0100
Lubomir Sedlacik <salo@Xtrmntr.org> wrote:

> On Wed, Dec 11, 2002 at 11:35:59PM +0100, Juan RP wrote:
> >
> > What's i'm doing wrong ? 
> 
> try to make pkgsrc related settings conditional:
> 
> .ifdef BSD_PKG_MK
> ...
> .endif
> 

I tried with this conditional in mk.conf how you tell me before, but
the trouble is the same .... my mk.conf is this now: 


# Mk.conf
BSDSRCDIR=/usr/src
BSDOBJDIR=/usr/obj
TOOLDIR=/usr/obj.tools
OBJMACHINE=yes
MKOBJDIRS=yes
COPTS+= -O2 -pipe -march=pentiumpro
.ifdef BSD_PKG_MK
WRKOBJDIR=/usr/obj.pkgsrc
DISTDIR=/usr/pkgsrc/distfiles
PACKAGES=/usr/pkgsrc/packages
PKG_DBDIR=/var/db/pkg
ZSH_STATIC=yes
ACCEPTABLE_LICENSES+=opera-license
ACCEPTABLE_LICENSES+=ms-ttf-license
ACCEPTABLE_LICENSES+=jdk-license
.endif

Why i don't build the toolchain and the system ?
Thank you. 

-- 
jrp@HispaBSD.org 
Juan RP ( Barcelona, Spain )
--