diff options
author | Ian Lepore <ian@FreeBSD.org> | 2016-02-19 23:05:08 +0000 |
---|---|---|
committer | Ian Lepore <ian@FreeBSD.org> | 2016-02-19 23:05:08 +0000 |
commit | 4080818d829ac1e63ef01cdb4435d9e5517e9b87 (patch) | |
tree | c8ae36e5bf0998ce5751f10103f8437dabdcf53b /net-mgmt/net-snmp | |
parent | Fix CFLAGS handling in lua53 patches. (diff) |
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
Notes
Notes:
svn path=/head/; revision=409215
Diffstat (limited to 'net-mgmt/net-snmp')
-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} |