aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorian <ian@FreeBSD.org>2016-02-20 07:05:08 +0800
committerian <ian@FreeBSD.org>2016-02-20 07:05:08 +0800
commit0daf62e522a67bf91e4f786013626caebdc4ab21 (patch)
treec8ae36e5bf0998ce5751f10103f8437dabdcf53b /net-mgmt
parent0d1597e3a5eeff680f64eb0761bd5067239911ce (diff)
downloadfreebsd-ports-gnome-0daf62e522a67bf91e4f786013626caebdc4ab21.tar.gz
freebsd-ports-gnome-0daf62e522a67bf91e4f786013626caebdc4ab21.tar.zst
freebsd-ports-gnome-0daf62e522a67bf91e4f786013626caebdc4ab21.zip
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
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/net-snmp/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/net-mgmt/net-snmp/Makefile b/net-mgmt/net-snmp/Makefile
index 99585734cbbf..f6c93d4f79d2 100644
--- a/net-mgmt/net-snmp/Makefile
+++ b/net-mgmt/net-snmp/Makefile
@@ -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}