pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk Make sure MACHINE_ARCH is set to x86_64 for FreeBSD...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0848bc8ab0ea
branches:  trunk
changeset: 525379:0848bc8ab0ea
user:      tonio <tonio%pkgsrc.org@localhost>
date:      Fri Feb 16 16:09:23 2007 +0000

description:
Make sure MACHINE_ARCH is set to x86_64 for FreeBSD-amd64

diffstat:

 mk/bsd.prefs.mk |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r a75450e3d7d0 -r 0848bc8ab0ea mk/bsd.prefs.mk
--- a/mk/bsd.prefs.mk   Fri Feb 16 15:52:05 2007 +0000
+++ b/mk/bsd.prefs.mk   Fri Feb 16 16:09:23 2007 +0000
@@ -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 @@
 .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"



Home | Main Index | Thread Index | Old Index