Account for the removal of /usr/bin/objformat on 7-CURRENT and default

to elf instead of aout in this case.  Bump PORTREVISION.
This commit is contained in:
Gerald Pfeifer 2007-02-15 12:21:38 +00:00
parent cb9fefc87a
commit dfc0ce2db3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=185230
2 changed files with 15 additions and 0 deletions

View File

@ -8,6 +8,7 @@
PORTNAME= gcc
PORTVERSION= 3.4.6
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= lang
VERSIONSTRING= ${PORTVERSION}

View File

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