freebsd-ports/lang/gcc33/files/patch-ltconfig
Gerald Pfeifer 627f50da3b Account for the removal of /usr/bin/objformat on 7-CURRENT and default
to elf instead of aout in this case.  Bump PORTREVISION.
2007-02-15 14:02:51 +00:00

14 lines
399 B
Text

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*)