Date: Wed, 18 Mar 2015 16:05:08 +0000 (UTC) From: Gleb Smirnoff <glebius@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r381568 - head/net-mgmt/net-snmp Message-ID: <201503181605.t2IG58qe049066@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: glebius (src committer) Date: Wed Mar 18 16:05:08 2015 New Revision: 381568 URL: https://svnweb.freebsd.org/changeset/ports/381568 QAT: https://qat.redports.org/buildarchive/r381568/ Log: 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 Modified: head/net-mgmt/net-snmp/Makefile Modified: head/net-mgmt/net-snmp/Makefile ============================================================================== --- head/net-mgmt/net-snmp/Makefile Wed Mar 18 15:33:52 2015 (r381567) +++ head/net-mgmt/net-snmp/Makefile Wed Mar 18 16:05:08 2015 (r381568) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201503181605.t2IG58qe049066>