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
commit8d9be42a029646e9dffb4aa5b2d67d9600341738 (patch)
tree48b04066b481c7131c36a6679fe83fd11479a155 /parallel/sge
parent5a154be6d480e25ec2c81f1fc27ae0af304e05d8 (diff)
downloadpkgsrc-8d9be42a029646e9dffb4aa5b2d67d9600341738.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"