diff options
author | hasso <hasso@pkgsrc.org> | 2009-09-22 19:19:29 +0000 |
---|---|---|
committer | hasso <hasso@pkgsrc.org> | 2009-09-22 19:19:29 +0000 |
commit | c28db14b6ab164b4c92f3014f35a7f605ef4c307 (patch) | |
tree | 8af950d4ac0dd98ea98c8bc8830908b6cb5f9aba /mk/bsd.prefs.mk | |
parent | e332deb0a52c0f458c5f211a7f45c2150a8cb7a5 (diff) | |
download | pkgsrc-c28db14b6ab164b4c92f3014f35a7f605ef4c307.tar.gz |
Workaround for amd64 vs x86_64 mess on DragonFly as well.
Diffstat (limited to 'mk/bsd.prefs.mk')
-rw-r--r-- | mk/bsd.prefs.mk | 6 |
1 files changed, 5 insertions, 1 deletions
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 |