summaryrefslogtreecommitdiff
path: root/parallel/sge
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2004-06-27 14:22:18 +0000
committergrant <grant@pkgsrc.org>2004-06-27 14:22:18 +0000
commit45d63de5d316cc446df4ec4f862f5cb8f3eb5ad8 (patch)
tree48b04066b481c7131c36a6679fe83fd11479a155 /parallel/sge
parent7edf277efd049e222e9f84d7b21314aa66c1a12a (diff)
downloadpkgsrc-45d63de5d316cc446df4ec4f862f5cb8f3eb5ad8.tar.gz
correctly detect sparcv9, allows this to get further on Solaris
when running a 64-bit kernel.
Diffstat (limited to 'parallel/sge')
-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"