Subject: Re: uninitialized vars
To: Juan RP <juan@xtrarom.org>
From: Jaka Jejcic <jj@gnorw.net>
List: current-users
Date: 10/18/2005 12:05:00
On Tue, Oct 18, 2005 at 12:02:00PM +0200, Juan RP wrote:
> 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.
yes i do use that method already, i just posted the system part of
mk.conf here.
but do you see the problem? do i have it? or is this the general procedure -
to modify the sources (i.e. set init values to vars)???