From 16d30f088014e6742c9e50153760f2c7eb4e323b Mon Sep 17 00:00:00 2001 From: wiz Date: Fri, 7 Jul 2000 23:35:56 +0000 Subject: Make this package compile on NetBSD. Untested for lack of ARM executables. Remove ONLY_FOR_PLATFORM line. --- emulators/swarm/Makefile | 3 +-- emulators/swarm/files/patch-sum | 3 +++ emulators/swarm/patches/patch-aa | 17 +++++++++++++++++ 3 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 emulators/swarm/files/patch-sum create mode 100644 emulators/swarm/patches/patch-aa (limited to 'emulators/swarm') diff --git a/emulators/swarm/Makefile b/emulators/swarm/Makefile index 931c9f14ecc..99b8e3b4fbe 100644 --- a/emulators/swarm/Makefile +++ b/emulators/swarm/Makefile @@ -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 diff --git a/emulators/swarm/files/patch-sum b/emulators/swarm/files/patch-sum new file mode 100644 index 00000000000..2cf11e10a45 --- /dev/null +++ b/emulators/swarm/files/patch-sum @@ -0,0 +1,3 @@ +$NetBSD: patch-sum,v 1.1 2000/07/07 23:35:57 wiz Exp $ + +MD5 (patch-aa) = c2c96f46e3d15263bd51d5f29c141488 diff --git a/emulators/swarm/patches/patch-aa b/emulators/swarm/patches/patch-aa new file mode 100644 index 00000000000..e3a5cbbdaae --- /dev/null +++ b/emulators/swarm/patches/patch-aa @@ -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;; -- cgit v1.2.3