From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Apr 26 19:50:06 2005 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D649716A4CE for ; Tue, 26 Apr 2005 19:50:06 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8FA9F43D5D for ; Tue, 26 Apr 2005 19:50:06 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3QJo6vP042556 for ; Tue, 26 Apr 2005 19:50:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3QJo6wb042555; Tue, 26 Apr 2005 19:50:06 GMT (envelope-from gnats) Resent-Date: Tue, 26 Apr 2005 19:50:06 GMT Resent-Message-Id: <200504261950.j3QJo6wb042555@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Johan van Selst Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E924016A4CE for ; Tue, 26 Apr 2005 19:42:53 +0000 (GMT) Received: from skynet.stack.nl (skynet.stack.nl [131.155.140.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6592443D5C for ; Tue, 26 Apr 2005 19:42:53 +0000 (GMT) (envelope-from johans@stack.nl) Received: by skynet.stack.nl (Postfix, from userid 65534) id 13F6B3EFD; Tue, 26 Apr 2005 21:44:35 +0200 (CEST) Received: from mud.stack.nl (mud.stack.nl [IPv6:2001:610:1108:5011:207:e9ff:fe14:b498]) by skynet.stack.nl (Postfix) with ESMTP id ADCE13EFA for ; Tue, 26 Apr 2005 21:44:34 +0200 (CEST) Received: by mud.stack.nl (Postfix, from userid 801) id 0793517051; Tue, 26 Apr 2005 21:42:52 +0200 (CEST) Message-Id: <20050426194252.0793517051@mud.stack.nl> Date: Tue, 26 Apr 2005 21:42:52 +0200 (CEST) From: Johan van Selst To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/80374: net-mgmt/net-snmp4: unbreak build on FreeBSD >= 6.x X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Johan van Selst List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Apr 2005 19:50:07 -0000 >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 .if ${OSVERSION} >= 600000 -BROKEN= "Does not build on FreeBSD >= 6.x" +CFLAGS+= -Dfreebsd5 .endif .if ${OSVERSION} >= 400014 >Release-Note: >Audit-Trail: >Unformatted: