summaryrefslogtreecommitdiff
path: root/parallel
diff options
context:
space:
mode:
authorjoerg <joerg>2006-06-15 15:32:35 +0000
committerjoerg <joerg>2006-06-15 15:32:35 +0000
commit74dea1cb7a9d59c2bbf74df3fe0572502a8f0463 (patch)
tree27227f32902830e442f7c86ad2527bb8a7b2a32a /parallel
parent91c5495cf1d6469ca8ab432500b5c32242261618 (diff)
downloadpkgsrc-74dea1cb7a9d59c2bbf74df3fe0572502a8f0463.tar.gz
Also set _PVM_OPSYS for Solaris/x86. From Gilles Dauphin in PR 33730.
Diffstat (limited to 'parallel')
-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