diff options
author | tonio <tonio@pkgsrc.org> | 2007-02-16 16:09:23 +0000 |
---|---|---|
committer | tonio <tonio@pkgsrc.org> | 2007-02-16 16:09:23 +0000 |
commit | 2a3096f51cb469e7041704a74d71eb152041c908 (patch) | |
tree | c2770ab2118f871df296fb4e176371527e4de747 /mk | |
parent | e74fd916c548bcf2eec0231f9e1388d449c266e4 (diff) | |
download | pkgsrc-2a3096f51cb469e7041704a74d71eb152041c908.tar.gz |
Make sure MACHINE_ARCH is set to x86_64 for FreeBSD-amd64
Diffstat (limited to '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 6406c58f4b4..8709f5f52eb 100644 --- a/mk/bsd.prefs.mk +++ b/mk/bsd.prefs.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.prefs.mk,v 1.243 2006/12/27 14:29:45 joerg Exp $ +# $NetBSD: bsd.prefs.mk,v 1.244 2007/02/16 16:09:23 tonio Exp $ # # Make file, included to get the site preferences, if any. Should # only be included by package Makefiles before any .if defined() @@ -131,7 +131,11 @@ LOWER_VENDOR?= pc .elif ${OPSYS} == "FreeBSD" LOWER_OPSYS?= freebsd 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_OPSYS_VERSUFFIX!= echo ${LOWER_OS_VERSION} | ${CUT} -c -1 . if ${LOWER_ARCH} == "i386" |