From c28db14b6ab164b4c92f3014f35a7f605ef4c307 Mon Sep 17 00:00:00 2001 From: hasso Date: Tue, 22 Sep 2009 19:19:29 +0000 Subject: Workaround for amd64 vs x86_64 mess on DragonFly as well. --- mk/bsd.prefs.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'mk/bsd.prefs.mk') diff --git a/mk/bsd.prefs.mk b/mk/bsd.prefs.mk index 9ab1fbd7917..67039f46261 100644 --- a/mk/bsd.prefs.mk +++ b/mk/bsd.prefs.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.prefs.mk,v 1.298 2009/09/22 09:17:50 tron Exp $ +# $NetBSD: bsd.prefs.mk,v 1.299 2009/09/22 19:19:29 hasso Exp $ # # This file includes the mk.conf file, which contains the user settings. # @@ -145,7 +145,11 @@ LOWER_VENDOR?= apple OS_VERSION:= ${OS_VERSION:C/-.*$//} LOWER_OPSYS?= dragonfly LOWER_ARCH!= ${UNAME} -p +. if ${LOWER_ARCH} == "amd64" +MACHINE_ARCH= x86_64 +. else MACHINE_ARCH= ${LOWER_ARCH} +. endif MAKEFLAGS+= LOWER_ARCH=${LOWER_ARCH:Q} LOWER_VENDOR?= pc -- cgit v1.2.3