summaryrefslogtreecommitdiff
path: root/parallel/pvm3
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-06-15 15:32:35 +0000
committerjoerg <joerg@pkgsrc.org>2006-06-15 15:32:35 +0000
commite2f8ffeeca80be7ca1e403ded94606f7c48a9a68 (patch)
tree27227f32902830e442f7c86ad2527bb8a7b2a32a /parallel/pvm3
parent281a81614e7f3007dded457d28ca3a015b58e735 (diff)
downloadpkgsrc-e2f8ffeeca80be7ca1e403ded94606f7c48a9a68.tar.gz
Also set _PVM_OPSYS for Solaris/x86. From Gilles Dauphin in PR 33730.
Diffstat (limited to 'parallel/pvm3')
-rw-r--r--parallel/pvm3/arch.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/parallel/pvm3/arch.mk b/parallel/pvm3/arch.mk
index 6062fed8d4d..fb898f5dfa8 100644
--- a/parallel/pvm3/arch.mk
+++ b/parallel/pvm3/arch.mk
@@ -1,4 +1,4 @@
-# $NetBSD: arch.mk,v 1.9 2006/01/27 16:34:36 joerg Exp $
+# $NetBSD: arch.mk,v 1.10 2006/06/15 15:32:35 joerg Exp $
#
.include "../../mk/bsd.prefs.mk"
@@ -23,7 +23,11 @@ _PVM_ARCH= PPC
_PVM_ARCH= # empty
. endif
.elif ${OPSYS} == "SunOS"
+. if !empty(MACHINE_ARCH:Mi386*) || !empty(MACHINE_ARCH:Mx86_64*)
+_PVM_OPSYS= X86
+. else
_PVM_OPSYS= SUN4
+. endif
_PVM_ARCH= SOL2 # Solaris (SunOS 5.*)
.elif ${OPSYS} == "Darwin"
_PVM_OPSYS= DARWIN