Make this package compile on NetBSD. Untested for lack of ARM executables.

Remove ONLY_FOR_PLATFORM line.
This commit is contained in:
wiz 2000-07-07 23:35:56 +00:00
parent 255050913a
commit 24d5fa5f30
3 changed files with 21 additions and 2 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 2000/07/07 02:32:48 dmcmahill Exp $
# $NetBSD: Makefile,v 1.3 2000/07/07 23:35:56 wiz Exp $
DISTNAME= swarm-0.26
CATEGORIES= emulators
@ -8,7 +8,6 @@ MAINTAINER= agc@netbsd.org
HOMEPAGE= http://www.dcs.gla.ac.uk/~michael/phd/swarm.html
WRKSRC= ${WRKDIR}/swarm/src
ONLY_FOR_PLATFORM= SunOS-*-*
do-install:
${BSD_INSTALL_PROGRAM} ${WRKSRC}/swarm ${PREFIX}/bin

View file

@ -0,0 +1,3 @@
$NetBSD: patch-sum,v 1.1 2000/07/07 23:35:57 wiz Exp $
MD5 (patch-aa) = c2c96f46e3d15263bd51d5f29c141488

View file

@ -0,0 +1,17 @@
$NetBSD: patch-aa,v 1.1 2000/07/07 23:35:57 wiz Exp $
--- ../bin/scripts/arch.orig Sun May 7 17:19:51 2000
+++ ../bin/scripts/arch Sat Jul 8 01:04:09 2000
@@ -183,6 +183,12 @@
kbin=$bin
k_version=$version;;
+NetBSD)
+ arch=$machine
+ bin=${machine}_netbsd
+ karch=$arch
+ kbin=$bin;;
+
FreeBSD) case "$machine" in
i[3456]86) arch=ix86; machine=$arch; bin=${machine}_freebsd;;
*) echo 1>&2 "Unknown $system machine $machine"; exit 3;;