From d9345b407650170b44613d6dc557833bd543bf79 Mon Sep 17 00:00:00 2001 From: grant Date: Sun, 27 Jun 2004 14:22:18 +0000 Subject: correctly detect sparcv9, allows this to get further on Solaris when running a 64-bit kernel. --- parallel/sge/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'parallel/sge') diff --git a/parallel/sge/Makefile b/parallel/sge/Makefile index a456e8df5d1..24c76d651c2 100644 --- a/parallel/sge/Makefile +++ b/parallel/sge/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2004/05/03 00:38:34 dmcmahill Exp $ +# $NetBSD: Makefile,v 1.2 2004/06/27 14:22:18 grant Exp $ # DISTNAME= sge-5.3p6 @@ -51,8 +51,12 @@ SGE_BUILDARCH!= ${ECHO} "${OPSYS}_${MACHINE_ARCH}" | ${TR} a-z A-Z . if ${MACHINE_ARCH} == "i386" SGE_ARCH= solaris86 . else +_ISAINFO!= isainfo +. if !empty(_ISAINFO:Msparcv9) +SGE_ARCH= solaris64 +. else SGE_ARCH= solaris -#or solaris64 +. endif . endif SGE_BUILDARCH!= ${ECHO} "${SGE_ARCH}" | ${TR} a-z A-Z .elif ${OPSYS} == "Darwin" -- cgit v1.2.3