Subject: pkg/31302: Add emulators/suse91_compat support for NetBSD/amd64
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <njoly@pasteur.fr>
List: pkgsrc-bugs
Date: 09/12/2005 15:14:01
>Number: 31302
>Category: pkg
>Synopsis: Add emulators/suse91_compat support for NetBSD/amd64
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Sep 12 15:14:00 +0000 2005
>Originator: Nicolas Joly
>Release: NetBSD 3.99.8
>Organization:
Institut Pasteur, Paris.
>Environment:
System: NetBSD lanfeust.sis.pasteur.fr 3.99.8 NetBSD 3.99.8 (LANFEUST) #0: Mon Sep 12 10:44:33 CEST 2005 njoly@lanfeust.sis.pasteur.fr:/local/src/NetBSD/obj/amd64/sys/arch/amd64/compile/LANFEUST amd64
Architecture: x86_64
Machine: amd64
>Description:
The emulators/suse91_compat package lacks support for NetBSD/amd64.
>How-To-Repeat:
>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/emulators/suse91_compat/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- Makefile 11 Apr 2005 21:45:44 -0000 1.5
+++ Makefile 12 Sep 2005 15:05:42 -0000
@@ -11,13 +11,18 @@
DEPENDS+= suse_base>=${SUSE_VERSION}:../../emulators/suse91_base
-ONLY_FOR_PLATFORM= NetBSD-*-i386 FreeBSD-*-i386
+ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-[3-9]*-x86_64 \
+ FreeBSD-*-i386
EXTRACT_ONLY= # empty
NO_BUILD= YES
PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
+.if ${MACHINE_ARCH} == "x86_64"
+RPMFILES= compat-2004.4.2-2.${SUSE_ARCH}.rpm
+.else
RPMFILES= compat-2004.4.2-3.${SUSE_ARCH}.rpm
+.endif
.include "../../emulators/suse91_linux/Makefile.common"
.include "../../mk/bsd.pkg.mk"
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/emulators/suse91_compat/distinfo,v
retrieving revision 1.2
diff -u -r1.2 distinfo
--- distinfo 23 Feb 2005 18:49:20 -0000 1.2
+++ distinfo 12 Sep 2005 15:05:43 -0000
@@ -3,3 +3,6 @@
SHA1 (suse91/i586/compat-2004.4.2-3.i586.rpm) = 837f2272da26f8efe242e33724370d45cc2c5a74
RMD160 (suse91/i586/compat-2004.4.2-3.i586.rpm) = a18f61b6fd3c3eb63600b37d8324a3f2fe0b4043
Size (suse91/i586/compat-2004.4.2-3.i586.rpm) = 1806417 bytes
+SHA1 (suse91/x86_64/compat-2004.4.2-2.x86_64.rpm) = 27d7075068b73ee2c915510c1f74a60d140af494
+RMD160 (suse91/x86_64/compat-2004.4.2-2.x86_64.rpm) = ddbe20362065fc0385a17a9148b80c1458a5ab0a
+Size (suse91/x86_64/compat-2004.4.2-2.x86_64.rpm) = 139427 bytes