Subject: Re: uninitialized vars
To: Jaka Jejcic <jj@gnorw.net>
From: Juan RP <juan@xtrarom.org>
List: current-users
Date: 10/18/2005 12:02:00
On Tue, 18 Oct 2005 11:58:14 +0200
Jaka Jejcic <jj@gnorw.net> wrote:

> example:
> ./build.sh -T /usr/build/alpha/tools -M /usr/build/alpha/obj
> -D /usr/build/alpha/dist -R /usr/build/alpha/release -m alpha release
> 
> it doesn't matter which arch i build for
> 
> mk.conf:
> COPTS +=	-pipe -O
> MKNLS =         yes
> OBJMACHINE =    yes
> MKOBJDIRS =     yes
> MKHOSTOBJ =     yes
> UPDATE =        no
> BUILD =         yes
> X11SRCDIR =     /usr/xsrc
> X11_TYPE =      native

Why do you use X11_TYPE=native? this shouldn't be needed.

BTW to avoid future problems you should modify your mk.conf file
for pkgsrc and build.sh, like this:

.ifdef BSD_PKG_MK

pkgsrc stuff here

.else

for the base system here

.endif

At least it's very important to use BSD_PKG_MK for pkgsrc stuff.

HTH

!DSPAM:9,4354c82511251150830958!