svn commit: r409215 - head/net-mgmt/net-snmp
Ian Lepore
ian at FreeBSD.org
Fri Feb 19 23:05:10 UTC 2016
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}
More information about the svn-ports-head
mailing list