Date: Fri, 19 Feb 2016 23:05:09 +0000 (UTC) From: Ian Lepore <ian@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r409215 - head/net-mgmt/net-snmp Message-ID: <201602192305.u1JN59EC072609@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602192305.u1JN59EC072609>