diff options
author | glebius <glebius@FreeBSD.org> | 2015-03-19 00:05:08 +0800 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2015-03-19 00:05:08 +0800 |
commit | a51a3e9a81ba4d2e8375a0b5d114393acab2c833 (patch) | |
tree | 67ef03f03094777a641990d9d725f7e4f99ab41b /net-mgmt | |
parent | cf41d7b4075d2fb47f67bbf15f566dede601c28a (diff) | |
download | freebsd-ports-gnome-a51a3e9a81ba4d2e8375a0b5d114393acab2c833.tar.gz freebsd-ports-gnome-a51a3e9a81ba4d2e8375a0b5d114393acab2c833.tar.zst freebsd-ports-gnome-a51a3e9a81ba4d2e8375a0b5d114393acab2c833.zip |
On head do not build deprecated IPV6-MIB implementations in mibII/ipv6.c,
now superseeded by the INET-XXX-MIB versions. And no need for _WANT_IFADDR
hack now.
This fixes build on head, since cuts away the main kvm(3) abuser from
net-snmp.
Discussion: http://sourceforge.net/p/net-snmp/mailman/message/33539005/
Sponsored by: Netflix
Sponsored by: Nginx, Inc.
Approved by: zi
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/net-snmp/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/net-mgmt/net-snmp/Makefile b/net-mgmt/net-snmp/Makefile index e232e4208b05..c96468c7e272 100644 --- a/net-mgmt/net-snmp/Makefile +++ b/net-mgmt/net-snmp/Makefile @@ -3,7 +3,7 @@ PORTNAME= snmp PORTVERSION= 5.7.3 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= net-mgmt ipv6 MASTER_SITES= SF/net-${PORTNAME}/net-${PORTNAME}/${PORTVERSION} PKGNAMEPREFIX= net- @@ -155,10 +155,14 @@ NET_SNMP_WITH_MIB_MODULE_LIST+= sctp-mib CONFIGURE_ARGS+= --with-libs="-lssp_nonshared" .endif -.if ${OSVERSION} >= 1000000 +.if ${OSVERSION} >= 1000000 && ${OSVERSION} < 1100062 CFLAGS+= -D_WANT_IFADDR .endif +.if ${OSVERSION} >= 1100062 +CONFIGURE_ARGS+= --with-out-mib-modules="mibII/ipv6" +.endif + .if ${PORT_OPTIONS:MMFD_REWRITES} CONFIGURE_ARGS+=--enable-mfd-rewrites NET_SNMP_WITH_MIB_MODULE_LIST+= if-mib |