pkgsrc/x11/xlockmore/patches/patch-ac
briggs 56bb41603c 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.
2003-02-06 06:49:09 +00:00

12 lines
464 B
Text

$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:*:*)