Subject: Re: where are MACHINE_ARCH and LOWER_ARCH defined?
To: Jeremy C. Reed <reed@reedmedia.net>
From: Simon J. Gerraty <sjg@crufty.net>
List: tech-pkg
Date: 01/12/2003 16:40:03
>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/}
--sjg