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/19f512765007
branches: trunk
changeset: 399603:19f512765007
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 580441222d3d -r 19f512765007 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