pkgsrc/devel/unproven-pthreads/patches/patch-ai
2001-01-09 16:14:20 +00:00

14 lines
670 B
Text

$NetBSD: patch-ai,v 1.1 2001/01/09 16:14:20 briggs Exp $
--- config/config.guess.orig Sat Nov 6 18:32:27 1999
+++ config/config.guess Mon Jan 8 23:02:15 2001
@@ -292,7 +292,8 @@
echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
exit 0 ;;
*:NetBSD:*:*)
- echo ${UNAME_MACHINE}-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
+ UNAME_PROCESSOR=`uname -p 2>/dev/null` || UNAME_PROCESSOR=$UNAME_MACHINE
+ echo ${UNAME_PROCESSOR}-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
exit 0 ;;
*:GNU:*:*)
echo `echo ${UNAME_MACHINE}|sed -e 's,/.*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`