diff options
author | dholland <dholland> | 2012-05-23 05:19:40 +0000 |
---|---|---|
committer | dholland <dholland> | 2012-05-23 05:19:40 +0000 |
commit | 5b8f33b2bb04983f3c8f57c87586252f51d0623a (patch) | |
tree | 3d779912fe38986baf28acf131d25edacbd02c7a /emulators | |
parent | 5727c0bcb7d641cb89a7161a9d37d27e0466f4f4 (diff) | |
download | pkgsrc-5b8f33b2bb04983f3c8f57c87586252f51d0623a.tar.gz |
Teach this to recognize x86_64 on Linux.
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/swarm/distinfo | 4 | ||||
-rw-r--r-- | emulators/swarm/patches/patch-ak | 17 |
2 files changed, 16 insertions, 5 deletions
diff --git a/emulators/swarm/distinfo b/emulators/swarm/distinfo index de2f28a0a18..59e6a8fccb5 100644 --- a/emulators/swarm/distinfo +++ b/emulators/swarm/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.10 2012/03/07 15:08:40 hans Exp $ +$NetBSD: distinfo,v 1.11 2012/05/23 05:19:40 dholland Exp $ SHA1 (swarm-0.61.tar.gz) = 36ed52671f8be2cf8e799efd94a48b2919979d2c RMD160 (swarm-0.61.tar.gz) = d8e15da178236a46761a65cd52809276df5f3511 @@ -13,4 +13,4 @@ SHA1 (patch-ag) = 4d3ca9cd45edc081b85019ec88135504b3e7b0a1 SHA1 (patch-ah) = 94d58bdd8d48e73f49ef06ac90eb0a9b0e1af6db SHA1 (patch-ai) = 51b43a6b560566447d588623b19d3da6ab7b4ade SHA1 (patch-aj) = 227b459e8201320679d3484daa163a5a5c579b17 -SHA1 (patch-ak) = b5fe118ed1da57ba528c3f3e86790ff33b7a2533 +SHA1 (patch-ak) = 1eb646812069c798a38b9fcf9d01e08a3ea3b416 diff --git a/emulators/swarm/patches/patch-ak b/emulators/swarm/patches/patch-ak index ed63f82cb9f..2b99d485581 100644 --- a/emulators/swarm/patches/patch-ak +++ b/emulators/swarm/patches/patch-ak @@ -1,8 +1,19 @@ -$NetBSD: patch-ak,v 1.1 2005/12/09 12:10:09 joerg Exp $ +$NetBSD: patch-ak,v 1.2 2012/05/23 05:19:40 dholland Exp $ ---- bin/scripts/arch.orig 2005-12-09 11:57:36.000000000 +0000 +- teach it about linux on x86_64 +- support dragonfly by using the freebsd config + +--- bin/scripts/arch.orig 2001-04-17 14:04:10.000000000 +0000 +++ bin/scripts/arch -@@ -183,7 +183,7 @@ Linux) case "$machine" in +@@ -161,6 +161,7 @@ Linux) case "$machine" in + alpha) arch=$machine; bin=${machine}_linux;; + i[3456]86) arch=ix86; machine=$arch; bin=${machine}_linux;; + sparc) arch=$machine; bin=${machine}_linux;; ++ x86_64) arch=$machine; bin=${machine}_linux;; + *) echo 1>&2 "Unknown $system machine $machine"; exit 3;; + esac + # work out Linux version. On RedHat we check for /etc/redhat-release +@@ -183,7 +184,7 @@ Linux) case "$machine" in kbin=$bin k_version=$version;; |