aboutsummaryrefslogtreecommitdiffstats
path: root/lang/gcc40/files
diff options
context:
space:
mode:
authorgerald <gerald@FreeBSD.org>2007-02-15 09:14:38 +0800
committergerald <gerald@FreeBSD.org>2007-02-15 09:14:38 +0800
commit068dcba02427b5d3715ffe74beca32195f913450 (patch)
tree5481f04ae9ecd9ab160fee6671afe51ef831e06c /lang/gcc40/files
parent87c042fedc506e469dade3a1dd452ca03c6385dd (diff)
downloadfreebsd-ports-gnome-068dcba02427b5d3715ffe74beca32195f913450.tar.gz
freebsd-ports-gnome-068dcba02427b5d3715ffe74beca32195f913450.tar.zst
freebsd-ports-gnome-068dcba02427b5d3715ffe74beca32195f913450.zip
Account for the removal of /usr/bin/objformat on 7-CURRENT and default
to elf instead of aout in this case.
Diffstat (limited to 'lang/gcc40/files')
-rw-r--r--lang/gcc40/files/patch-ltconfig14
1 files changed, 14 insertions, 0 deletions
diff --git a/lang/gcc40/files/patch-ltconfig b/lang/gcc40/files/patch-ltconfig
new file mode 100644
index 000000000000..238574b8adac
--- /dev/null
+++ b/lang/gcc40/files/patch-ltconfig
@@ -0,0 +1,14 @@
+Index: ltconfig
+===================================================================
+--- ltconfig
++++ ltconfig (working copy)
+@@ -1133,7 +1133,7 @@
+ ;;
+
+ freebsd*)
+- objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
++ objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo elf`
+ version_type=freebsd-$objformat
+ case $version_type in
+ freebsd-elf*)
+