Date: Mon, 29 Jan 2007 00:17:54 +0200 From: Jonathan <afarsec@012.net.il> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/108500: Fix net/libdnet on 7.0 - retire "aout" support Message-ID: <0JCL00ACCOFNQ9U0@i_mtaout2.012.net.il> Resent-Message-ID: <200701282240.l0SMe8j8091141@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0JCL00ACCOFNQ9U0>