diff options
author | jmc <jmc@pkgsrc.org> | 2002-02-18 10:10:21 +0000 |
---|---|---|
committer | jmc <jmc@pkgsrc.org> | 2002-02-18 10:10:21 +0000 |
commit | 3516754c8c0f041fe0cbb9a9c4974fb7ce9add0b (patch) | |
tree | 6bc9253c689ec39ac9ea65b31dcbbe8f69590825 /devel/bmake | |
parent | e5ec8ef1e56da46e028885caa74d2fb84c41bda0 (diff) | |
download | pkgsrc-3516754c8c0f041fe0cbb9a9c4974fb7ce9add0b.tar.gz |
Correct a bad assumption in machine.sh. It's assuming MACHINE_ARCH is equiv to
MACHINE on *BSD platforms which isn't true for cases like macppc where it's
arch is actually powerpc. So on *BSD run uname -p to get MACHINE_ARCH.
Diffstat (limited to 'devel/bmake')
-rw-r--r-- | devel/bmake/distinfo | 3 | ||||
-rw-r--r-- | devel/bmake/patches/patch-ab | 12 |
2 files changed, 14 insertions, 1 deletions
diff --git a/devel/bmake/distinfo b/devel/bmake/distinfo index be6cf028e8e..c94fbde1391 100644 --- a/devel/bmake/distinfo +++ b/devel/bmake/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.3 2001/10/18 21:41:06 sjg Exp $ +$NetBSD: distinfo,v 1.4 2002/02/18 10:10:21 jmc Exp $ SHA1 (bmake-3.1.12.tar.gz) = 423c89cf5054b5bec1af4fff7c56dc089fb9f8f3 Size (bmake-3.1.12.tar.gz) = 299528 bytes SHA1 (patch-aa) = d1a2e3c5638dcf657fb91019764987e3160a2a23 +SHA1 (patch-ab) = 8d98639f68138c9de21985197a346823c448bced diff --git a/devel/bmake/patches/patch-ab b/devel/bmake/patches/patch-ab new file mode 100644 index 00000000000..857b0850647 --- /dev/null +++ b/devel/bmake/patches/patch-ab @@ -0,0 +1,12 @@ +$NetBSD: patch-ab,v 1.1 2002/02/18 10:10:22 jmc Exp $ + +--- machine.sh.orig Mon Feb 18 10:05:46 2002 ++++ machine.sh Mon Feb 18 10:06:09 2002 +@@ -38,6 +38,7 @@ + case $OS in + *BSD) + MACHINE=$OS$OSMAJOR.$machine ++ MACHINE_ARCH=`uname -p 2>/dev/null` + ;; + SunOS) + MACHINE=$OS$OSMAJOR |