summaryrefslogtreecommitdiff
path: root/lang/egcs/files/patch-aj
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1999-02-09 18:24:50 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1999-02-09 18:24:50 +0000
commit9740802749731bb28d0e38b06023350192e85a09 (patch)
tree773743b9fd0f78392da8f7652ec57cf0f6eea8b8 /lang/egcs/files/patch-aj
parentCorrect distfile fennerage by upgrading to 4.0b70. (diff)
GNUHOST is now "i386-unknown-freebsd" for an ELF machine, and
"i386-unknown-freebsdaout" for an a.out machine.
Diffstat (limited to 'lang/egcs/files/patch-aj')
-rw-r--r--lang/egcs/files/patch-aj6
1 files changed, 3 insertions, 3 deletions
diff --git a/lang/egcs/files/patch-aj b/lang/egcs/files/patch-aj
index 4f4d9f994ec7..cf2236003f39 100644
--- a/lang/egcs/files/patch-aj
+++ b/lang/egcs/files/patch-aj
@@ -1,14 +1,14 @@
--- config.guess.orig Fri Oct 23 14:26:33 1998
-+++ config.guess Thu Dec 3 20:56:57 1998
++++ config.guess Mon Feb 8 12:13:06 1999
@@ -474,7 +474,11 @@
echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
exit 0 ;;
*:FreeBSD:*:*)
- echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
+ if test -x /usr/bin/objformat -a "elf" = "`/usr/bin/objformat`"; then
-+ echo ${UNAME_MACHINE}-unknown-freebsdelf`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
-+ else
+ echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
++ else
++ echo ${UNAME_MACHINE}-unknown-freebsdaout`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
+ fi
exit 0 ;;
*:NetBSD:*:*)