Subject: Re: pkg/33730 (parallel/pvm3 patch-bq libpvm3.la (allmost all system))
To: None <garbled@NetBSD.org, pkgsrc-bugs@NetBSD.org,>
From: Gilles Dauphin <Gilles.Dauphin@enst.fr>
List: pkgsrc-bugs
Date: 06/15/2006 12:46:29
> From: joerg@NetBSD.org
> 
> Synopsis: parallel/pvm3 patch-bq libpvm3.la (allmost all system)
> 
> State-Changed-From-To: open->closed
> State-Changed-By: joerg@netbsd.org
> State-Changed-When: Wed, 14 Jun 2006 16:58:24 +0000
> State-Changed-Why:
> Thanks, I was annoyed by this for quite some time.

I am almost happy :)
To be fully happy, apply the last patch on file arch.mk for x86_64.
because postinstall is wrong for amd64 and fall into SUN4.


--- arch.mk     Fri Jan 27 17:34:36 2006
+++ ../pvm3.save/arch.mk        Wed Mar  8 14:40:27 2006
@@ -23,7 +23,11 @@
 _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