summaryrefslogtreecommitdiff
path: root/x11/xlockmore/patches
diff options
context:
space:
mode:
authorbriggs <briggs@pkgsrc.org>2003-02-06 06:49:09 +0000
committerbriggs <briggs@pkgsrc.org>2003-02-06 06:49:09 +0000
commit56bb41603ca41c97799aeb6172fb118785d32feb (patch)
tree4db2c130bd443a78ca1ce8ab327cc3dbcd985cc2 /x11/xlockmore/patches
parentca5aa6ba1207c5a7eacb4d477b21023651b7b06e (diff)
downloadpkgsrc-56bb41603ca41c97799aeb6172fb118785d32feb.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.
Diffstat (limited to 'x11/xlockmore/patches')
-rw-r--r--x11/xlockmore/patches/patch-ac12
1 files changed, 12 insertions, 0 deletions
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:*:*)