diff options
author | gerald <gerald@FreeBSD.org> | 2007-02-15 09:14:38 +0800 |
---|---|---|
committer | gerald <gerald@FreeBSD.org> | 2007-02-15 09:14:38 +0800 |
commit | 068dcba02427b5d3715ffe74beca32195f913450 (patch) | |
tree | 5481f04ae9ecd9ab160fee6671afe51ef831e06c | |
parent | 87c042fedc506e469dade3a1dd452ca03c6385dd (diff) | |
download | freebsd-ports-graphics-068dcba02427b5d3715ffe74beca32195f913450.tar.gz freebsd-ports-graphics-068dcba02427b5d3715ffe74beca32195f913450.tar.zst freebsd-ports-graphics-068dcba02427b5d3715ffe74beca32195f913450.zip |
Account for the removal of /usr/bin/objformat on 7-CURRENT and default
to elf instead of aout in this case.
-rw-r--r-- | lang/gcc40/files/patch-ltconfig | 14 |
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 00000000000..238574b8ada --- /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*) + |