summaryrefslogtreecommitdiff
path: root/parallel
diff options
context:
space:
mode:
authorgrant <grant>2004-06-27 14:22:18 +0000
committergrant <grant>2004-06-27 14:22:18 +0000
commitd9345b407650170b44613d6dc557833bd543bf79 (patch)
tree48b04066b481c7131c36a6679fe83fd11479a155 /parallel
parentcd95ea65ee9190c88721bc8d1eb8d789b2b0fe31 (diff)
downloadpkgsrc-d9345b407650170b44613d6dc557833bd543bf79.tar.gz
correctly detect sparcv9, allows this to get further on Solaris
when running a 64-bit kernel.
Diffstat (limited to 'parallel')
-rw-r--r--parallel/sge/Makefile8
1 files changed, 6 insertions, 2 deletions
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"