diff options
author | ian <ian@FreeBSD.org> | 2016-02-20 07:05:08 +0800 |
---|---|---|
committer | ian <ian@FreeBSD.org> | 2016-02-20 07:05:08 +0800 |
commit | 0daf62e522a67bf91e4f786013626caebdc4ab21 (patch) | |
tree | c8ae36e5bf0998ce5751f10103f8437dabdcf53b /net-mgmt | |
parent | 0d1597e3a5eeff680f64eb0761bd5067239911ce (diff) | |
download | freebsd-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/Makefile | 2 |
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} |