Date: Tue, 26 Apr 2005 21:42:52 +0200 (CEST) From: Johan van Selst <johans@stack.nl> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/80374: net-mgmt/net-snmp4: unbreak build on FreeBSD >= 6.x Message-ID: <20050426194252.0793517051@mud.stack.nl> Resent-Message-ID: <200504261950.j3QJo6wb042555@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 80374 >Category: ports >Synopsis: net-mgmt/net-snmp4: unbreak build on FreeBSD >= 6.x >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Tue Apr 26 19:50:06 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Johan van Selst >Release: FreeBSD 5.4-STABLE i386 >Organization: >Environment: System: FreeBSD mud.stack.nl 5.4-STABLE FreeBSD 5.4-STABLE #1: Fri Apr 15 14:21:39 CEST 2005 johans@mud.stack.nl:/usr/obj/usr/src/sys/mud i386 >Description: Building is the same as on FreeBSD 5.x Fix: make sure the source knows this still works the same >How-To-Repeat: >Fix: The code checks on several places for defines like 'freebsd4' and 'freebsd5'. Since compiling for 6.x works the same as 5.x, just define 'freebsd5' during the compilation as well. diff -uNr net-snmp4/Makefile net-snmp4/Makefile --- net-snmp4/Makefile Tue Apr 26 19:33:02 2005 +++ net-snmp4/Makefile Tue Apr 26 19:40:20 2005 @@ -79,7 +79,7 @@ .include <bsd.port.pre.mk> .if ${OSVERSION} >= 600000 -BROKEN= "Does not build on FreeBSD >= 6.x" +CFLAGS+= -Dfreebsd5 .endif .if ${OSVERSION} >= 400014 >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050426194252.0793517051>