From owner-svn-ports-head@freebsd.org Fri Feb 19 23:05:10 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 480E7AAE54E; Fri, 19 Feb 2016 23:05:10 +0000 (UTC) (envelope-from ian@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1AEB01CF6; Fri, 19 Feb 2016 23:05:10 +0000 (UTC) (envelope-from ian@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u1JN59Bv072610; Fri, 19 Feb 2016 23:05:09 GMT (envelope-from ian@FreeBSD.org) Received: (from ian@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u1JN59EC072609; Fri, 19 Feb 2016 23:05:09 GMT (envelope-from ian@FreeBSD.org) Message-Id: <201602192305.u1JN59EC072609@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ian set sender to ian@FreeBSD.org using -f From: Ian Lepore Date: Fri, 19 Feb 2016 23:05:09 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r409215 - head/net-mgmt/net-snmp X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Feb 2016 23:05:10 -0000 Author: ian Date: Fri Feb 19 23:05:08 2016 New Revision: 409215 URL: https://svnweb.freebsd.org/changeset/ports/409215 Log: Fix net-snmp ipv6 option handling when other options are also used. r381568 added CONFIGURE_ARGS+=--with-out-mib-modules="mibII/ipv6", but the handling of other options can result in two different --with-out-mib-modules arguments being passed to configure, and only the second one has effect. That leads to build failures because it tries to build the old mibII/ipv6 which is no longer supported on freebsd. This change adds mibII/ipv6 to the list of excluded modules that gets turned into the --with-out-mib-modules argument, so it plays nice with other option handling. PR: 199401 Approved by: mat(mentor) Differential Revision: https://reviews.freebsd.org/D5329 Modified: head/net-mgmt/net-snmp/Makefile Modified: head/net-mgmt/net-snmp/Makefile ============================================================================== --- head/net-mgmt/net-snmp/Makefile Fri Feb 19 22:55:18 2016 (r409214) +++ head/net-mgmt/net-snmp/Makefile Fri Feb 19 23:05:08 2016 (r409215) @@ -157,7 +157,7 @@ CFLAGS+= -D_WANT_IFADDR .endif .if ${OSVERSION} >= 1100062 -CONFIGURE_ARGS+= --with-out-mib-modules="mibII/ipv6" +NET_SNMP_WITHOUT_MIB_MODULE_LIST+= mibII/ipv6 .endif .if ${PORT_OPTIONS:MMFD_REWRITES}