aboutsummaryrefslogtreecommitdiffstats
path: root/lang/egcs
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1998-12-04 19:07:55 +0800
committerobrien <obrien@FreeBSD.org>1998-12-04 19:07:55 +0800
commit92c9f8ad1a0955324996fd3b26e41bb37ee292c0 (patch)
treef2a2799ddc87fa8ed9ff83357528629798b985de /lang/egcs
parent19f8ffd13680a408cdd082e98ff04394c805581c (diff)
downloadfreebsd-ports-gnome-92c9f8ad1a0955324996fd3b26e41bb37ee292c0.tar.gz
freebsd-ports-gnome-92c9f8ad1a0955324996fd3b26e41bb37ee292c0.tar.zst
freebsd-ports-gnome-92c9f8ad1a0955324996fd3b26e41bb37ee292c0.zip
Fix configure scripts to it correctly detects an ELF system w/o having to
be forced. Submitted by: Niall Smart <nialls@euristix.ie> (w/changes by me)
Diffstat (limited to 'lang/egcs')
-rw-r--r--lang/egcs/files/patch-aj15
1 files changed, 15 insertions, 0 deletions
diff --git a/lang/egcs/files/patch-aj b/lang/egcs/files/patch-aj
new file mode 100644
index 000000000000..4f4d9f994ec7
--- /dev/null
+++ b/lang/egcs/files/patch-aj
@@ -0,0 +1,15 @@
+--- config.guess.orig Fri Oct 23 14:26:33 1998
++++ config.guess Thu Dec 3 20:56:57 1998
+@@ -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/[-(].*//'`
++ fi
+ exit 0 ;;
+ *:NetBSD:*:*)
+ echo ${UNAME_MACHINE}-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`