pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk Workaround for amd64 vs x86_64 mess on DragonFly as...
details: https://anonhg.NetBSD.org/pkgsrc/rev/f37091ca388c
branches: trunk
changeset: 565455:f37091ca388c
user: hasso <hasso%pkgsrc.org@localhost>
date: Tue Sep 22 19:19:29 2009 +0000
description:
Workaround for amd64 vs x86_64 mess on DragonFly as well.
diffstat:
mk/bsd.prefs.mk | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r e4e4933bd694 -r f37091ca388c mk/bsd.prefs.mk
--- a/mk/bsd.prefs.mk Tue Sep 22 19:04:44 2009 +0000
+++ b/mk/bsd.prefs.mk Tue Sep 22 19:19:29 2009 +0000
@@ -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 @@
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
Home |
Main Index |
Thread Index |
Old Index