pkgsrc/devel/mit-pthreads/patches/patch-bp

44 lines
1.4 KiB
Text

$NetBSD: patch-bp,v 1.3 2002/04/11 17:11:34 fredb Exp $
--- config/config.guess.orig Sun Jul 7 05:51:23 1996
+++ config/config.guess Fri Sep 10 19:42:26 1999
@@ -261,8 +261,29 @@
CRAY-2:UNICOS:*:*)
echo cray2-cray-unicos
exit 0 ;;
+ amiga:NetBSD:*:*)
+ echo m68k-amiga-netbsd${UNAME_RELEASE}
+ exit 0 ;;
+ atari:NetBSD:*:*)
+ echo m68k-atari-netbsd${UNAME_RELEASE}
+ exit 0 ;;
hp3[0-9][05]:NetBSD:*:*)
echo m68k-hp-netbsd${UNAME_RELEASE}
+ exit 0 ;;
+ mac68k:NetBSD:*:*)
+ echo m68k-apple-netbsd${UNAME_RELEASE}
+ exit 0 ;;
+ mvme68k:NetBSD:*:*)
+ echo m68k-motorola-netbsd${UNAME_RELEASE}
+ exit 0 ;;
+ next68k:NetBSD:*:*)
+ echo m68k-next-netbsd${UNAME_RELEASE}
+ exit 0 ;;
+ sun3:NetBSD:*:*)
+ echo m68k-sun-netbsd${UNAME_RELEASE}
+ exit 0 ;;
+ x68k:NetBSD:*:*)
+ echo m68k-sharp-netbsd${UNAME_RELEASE}
exit 0 ;;
i[34]86:BSD/386:*:* | *:BSD/OS:*:*)
echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
@@ -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,/.*$,,'`