ports/108500: Fix net/libdnet on 7.0 - retire "aout" support

Jonathan afarsec at 012.net.il
Sun Jan 28 22:40:08 UTC 2007


>Number:         108500
>Category:       ports
>Synopsis:       Fix net/libdnet on 7.0 - retire "aout" support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 28 22:40:07 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Jonathan
>Release:        FreeBSD 6.1-STABLE i386
>Organization:
Afarsec
>Environment:
System: FreeBSD server.afarsec.com 6.1-STABLE FreeBSD 6.1-STABLE #0: Sat Jun 3 15:27:37 IDT 2006 root at server.afarsec.com:/usr/obj/usr/src/sys/GENERIC-ALTQ i386
>Description:
"aout" format is dead, long live "elf".
This patch fixes configure to default to "elf" instead of "aout".
The current configure works in <7.0 because /usr/bin/objformat exists,
but will fallback to "aout" when /usr/bin/objformat is removed.

Kindly prodded and assisted by: kris@
>How-To-Repeat:
install current, install the libdnet, "make deinstall", see plist errors.
>Fix:
--- libdnet-no-aout.diff begins here ---
diff -urN libdnet.orig/files/patch-configure libdnet/files/patch-configure
--- libdnet.orig/files/patch-configure	Thu Jan  1 02:00:00 1970
+++ libdnet/files/patch-configure	Sun Jan 28 23:38:11 2007
@@ -0,0 +1,11 @@
+--- configure.orig	Sun Jan 28 23:21:00 2007
++++ configure	Sun Jan 28 23:24:44 2007
+@@ -7783,7 +7783,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*)
--- libdnet-no-aout.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list