Subject: Review request
To: None <tech-pkg@netbsd.org>
From: Ignatios Souvatzis <ignatios@theory.cs.uni-bonn.de>
List: tech-pkg
Date: 10/29/2002 17:50:47
--YIleam+9adpUeYf+
Content-Type: multipart/mixed; boundary="rnP2AJ7yb1j09OW/"
Content-Disposition: inline


--rnP2AJ7yb1j09OW/
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hello,

I've changed the pvm-3.4.3 package to know about NetBSD/arm (the ELF=20
version), creating the new PVM_ARCH "NETBSDARM", as discussed on port-arm.

Can somebody please look at this and comment? Makefile change and new
patches appended.

Regards,
	-is

Index: Makefile
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /cvsroot/pkgsrc/parallel/pvm3/Makefile,v
retrieving revision 1.22
diff -u -r1.22 Makefile
--- Makefile    2002/02/07 10:49:07     1.22
+++ Makefile    2002/10/29 16:45:14
@@ -1,7 +1,7 @@
 # $NetBSD: Makefile,v 1.22 2002/02/07 10:49:07 seb Exp $
=20
 DISTNAME=3D              pvm3.4.3
-PKGNAME=3D               pvm-3.4.3
+PKGNAME=3D               pvm-3.4.3nb1
 CATEGORIES=3D            parallel
 MASTER_SITES=3D          http://www.netlib.org/pvm3/
 EXTRACT_SUFX=3D          .tgz
Index: distinfo
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /cvsroot/pkgsrc/parallel/pvm3/distinfo,v
retrieving revision 1.4
diff -u -r1.4 distinfo
--- distinfo    2001/05/24 19:51:07     1.4
+++ distinfo    2002/10/29 16:45:14
@@ -19,3 +19,6 @@
 SHA1 (patch-ao) =3D 2b29a5d04774d1c796fe8adf28d385a148504c2d
 SHA1 (patch-ap) =3D 6a3e8d80e45484e991cbefa9cdb64b23761434b9
 SHA1 (patch-aq) =3D 6bedbe1d3cb3d7cf7b61a4e6233ac7601173d9f8
+SHA1 (patch-ar) =3D c0fd594dcf3250fbd118c767112a0b33fe6b61a1
+SHA1 (patch-as) =3D 5458d3aafd70ef101a1830a6d8d1b1e7b06dae5f
+SHA1 (patch-at) =3D 68ab19be66e77c2120ea5c2201c5650828f764ed
cvs server: Diffing patches


--rnP2AJ7yb1j09OW/
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=patch-ar
Content-Transfer-Encoding: quoted-printable

$NetBSD$

--- lib/pvmgetarch.olde	Tue Oct 29 14:17:06 2002
+++ lib/pvmgetarch	Tue Oct 29 14:17:09 2002
@@ -136,7 +136,8 @@
 		# sun3)   ARCH=3DNETBSDSUN3 ;;  --> NETBSDM68K
 		case "`/usr/bin/uname -p`" in
 		alpha)   ARCH=3DNETBSDALPHA ;;
-		arm32)   ARCH=3DNETBSDARM32 ;;
+		arm32)   ARCH=3DNETBSDARM32 ;;	# a.out
+		arm)     ARCH=3DNETBSDARM ;;	# ELF=20
 		i386)    ARCH=3DNETBSDI386 ;;
 		m68k)    ARCH=3DNETBSDM68K ;;
 		mipseb)  ARCH=3DNETBSDMIPSEB ;;

--rnP2AJ7yb1j09OW/
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=patch-as

$NetBSD$

--- /dev/null	Tue Oct 29 14:34:05 2002
+++ conf/NETBSDARM.def	Tue Oct 29 15:14:44 2002
@@ -0,0 +1,10 @@
+ARCHCFLAGS	=	-DCTIMEISTIMET -DSOCKADHASLEN -DRSHCOMMAND=\"${SSH}\" \
+			-DHASERRORVARS -DNOREXEC -DNEEDMENDIAN -DSYSERRISCONST
+ARCHDLIB	=
+ARCHDOBJ	=
+ARCHLIB		=
+HASRANLIB	=	t
+AR		=	ar
+PVM_ARCH	=	NETBSDARM
+MAKE		=	make
+#MAKE		=	gmake

--rnP2AJ7yb1j09OW/
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=patch-at

$NetBSD$

--- /dev/null	Tue Oct 29 14:34:05 2002
+++ conf/NETBSDARM.m4	Tue Oct 29 15:15:11 2002
@@ -0,0 +1,19 @@
+divert(-1)
+undefine(`len')
+#
+# append an underscore to FORTRAN function names
+#
+define(`FUNCTION',`$1_')
+#
+# FORTRAN character strings are passed as follows:
+# a pointer to the base of the string is passed in the normal
+# argument list, and the length is passed by value as an extra
+# argument, after all of the other arguments.
+#
+define(`ARGS',`($1`'undivert(1))')
+define(`SAVE',`divert(1)$1`'divert(0)')
+define(`STRING_ARG',`$1_ptr`'SAVE(`, $1_len')')
+define(`STRING_ARG_DECL',`char * $1_ptr; int $1_len')
+define(`STRING_LEN',`$1_len')
+define(`STRING_PTR',`$1_ptr')
+divert(0)

--rnP2AJ7yb1j09OW/--

--YIleam+9adpUeYf+
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: 2.6.i

iQEVAgUBPb68ZTCn4om+4LhpAQFR/gf8DJmxMf/hBBWbCR2vtXWgP/2qMVbSNUOx
ILy5emd5gL048H1MX6PXxrBnSf4jEwlcaAHSP9rG0i5+tzAp4WWxhShyfz4GcLMS
ok8Zzr0vQkPxMY8ZsdMK9cynszWxPk9j/AtBF7mxGaCMrGI2IwGEUuQAfYXyml41
xpRdZ6eYalgRcQ1KmG0sbftglEQf3Z+R+pxaFmBMV+qEwcNa6GKT2uE4a1x2a3gR
HRorkj8lYA8EsSLdouESO2+3rSYX5K1NIACsrzROvUeA4dQT3i0eJvSrjTA/pVm2
zwKxnQkPhCG6UG+P0l7MQpxrhiaTXjHIgOSDRbkkXB8/VFdIppxPSw==
=sTQU
-----END PGP SIGNATURE-----

--YIleam+9adpUeYf+--