diff options
author | briggs <briggs> | 2003-02-06 06:49:09 +0000 |
---|---|---|
committer | briggs <briggs> | 2003-02-06 06:49:09 +0000 |
commit | 4d2597c9954c119b0a1bda2c541810c6eea61aa0 (patch) | |
tree | 4db2c130bd443a78ca1ce8ab327cc3dbcd985cc2 | |
parent | a0aba51fe1e8d77afcb424f17952fe787a781504 (diff) | |
download | pkgsrc-4d2597c9954c119b0a1bda2c541810c6eea61aa0.tar.gz |
Teach GNU's config.guess to use `uname -p` instead of `uname -m` for the
machine type when dealing with NetBSD. This allows xlockmore to compile
and run on macppc.
-rw-r--r-- | x11/xlockmore/distinfo | 3 | ||||
-rw-r--r-- | x11/xlockmore/patches/patch-ac | 12 |
2 files changed, 14 insertions, 1 deletions
diff --git a/x11/xlockmore/distinfo b/x11/xlockmore/distinfo index 98a58f8b59f..e8fc41f3c95 100644 --- a/x11/xlockmore/distinfo +++ b/x11/xlockmore/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.8 2002/12/05 00:45:53 hubertf Exp $ +$NetBSD: distinfo,v 1.9 2003/02/06 06:49:09 briggs Exp $ SHA1 (xlockmore-5.06.tar.bz2) = d48db3ef2a94222525ab5f753ecb7cfbb77dcb29 Size (xlockmore-5.06.tar.bz2) = 1538481 bytes SHA1 (patch-aa) = 2d533dab923e0de20838c96e9b6e455fb2d724f8 SHA1 (patch-ab) = 3f4006969c2ae1427606e8e451295350fdffda90 +SHA1 (patch-ac) = 875c4fc5ae98cfe389852891997e724f450f526f diff --git a/x11/xlockmore/patches/patch-ac b/x11/xlockmore/patches/patch-ac new file mode 100644 index 00000000000..a8d208a7a4c --- /dev/null +++ b/x11/xlockmore/patches/patch-ac @@ -0,0 +1,12 @@ +$NetBSD: patch-ac,v 1.10 2003/02/06 06:49:09 briggs Exp $ + +--- config.guess.orig Wed Feb 5 23:43:57 2003 ++++ config.guess Wed Feb 5 23:31:18 2003 +@@ -385,6 +385,7 @@ + echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` + exit 0 ;; + *:NetBSD:*:*) ++ UNAME_MACHINE=`(uname -p) 2>/dev/null` || UNAME_MACHINE=unknown + echo ${UNAME_MACHINE}-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` + exit 0 ;; + *:OpenBSD:*:*) |