summaryrefslogtreecommitdiff
path: root/emulators/swarm
diff options
context:
space:
mode:
authorwiz <wiz>2000-07-07 23:35:56 +0000
committerwiz <wiz>2000-07-07 23:35:56 +0000
commit16d30f088014e6742c9e50153760f2c7eb4e323b (patch)
tree51265b2c231ee7e9f83041cd7dc4b23d411cadd2 /emulators/swarm
parentafad438dee65196f300fab793260c4c2dca62057 (diff)
downloadpkgsrc-16d30f088014e6742c9e50153760f2c7eb4e323b.tar.gz
Make this package compile on NetBSD. Untested for lack of ARM executables.
Remove ONLY_FOR_PLATFORM line.
Diffstat (limited to 'emulators/swarm')
-rw-r--r--emulators/swarm/Makefile3
-rw-r--r--emulators/swarm/files/patch-sum3
-rw-r--r--emulators/swarm/patches/patch-aa17
3 files changed, 21 insertions, 2 deletions
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;;