diff options
author | obrien <obrien@FreeBSD.org> | 1998-12-04 19:07:55 +0800 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 1998-12-04 19:07:55 +0800 |
commit | 92c9f8ad1a0955324996fd3b26e41bb37ee292c0 (patch) | |
tree | f2a2799ddc87fa8ed9ff83357528629798b985de /lang/gcc295 | |
parent | 19f8ffd13680a408cdd082e98ff04394c805581c (diff) | |
download | freebsd-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/gcc295')
-rw-r--r-- | lang/gcc295/files/patch-aj | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lang/gcc295/files/patch-aj b/lang/gcc295/files/patch-aj new file mode 100644 index 000000000000..4f4d9f994ec7 --- /dev/null +++ b/lang/gcc295/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/[-_].*/\./'` |