Subject: Re: where are MACHINE_ARCH and LOWER_ARCH defined?
To: None <tech-pkg@netbsd.org>
From: Jan Schaumann <jschauma@netmeister.org>
List: tech-pkg
Date: 01/12/2003 22:41:34
"Simon J. Gerraty" <sjg@crufty.net> wrote:
> >I did it in bsd.prefs.mk instead:
> 
> >.elif ${OPSYS} == "Linux"
> >LOWER_OPSYS?=           linux
> >LOWER_ARCH!=            echo "${LOWER_ARCH}" | sed -e 's/i.86/i386/'
> >MACHINE_ARCH!=          echo "${MACHINE_ARCH}" | sed -e 's/i.86/i386/'
> 
> What's wrong with:
> 
> LOWER_ARCH:= ${LOWER_ARCH:C/i[4-9]86/i386/}
> MACHINE_ARCH:= ${MACHINE_ARCH:C/i[4-9]86/i386/}

Nothing.  See rev 1.100 (and 1.101). :)

-Jan

-- 
DON'T PANIC!