svn commit: r334626 - in head/net-mgmt/net-snmp: . files

Ryan Steinmetz zi at FreeBSD.org
Sat Nov 23 00:15:04 UTC 2013


Author: zi
Date: Sat Nov 23 00:15:03 2013
New Revision: 334626
URL: http://svnweb.freebsd.org/changeset/ports/334626

Log:
  - Fix FreeBSD 11 support

Added:
  head/net-mgmt/net-snmp/files/patch-Makefile.in   (contents, props changed)
Deleted:
  head/net-mgmt/net-snmp/files/patch-agent-mibgroup-mibII-ipv6.c
Modified:
  head/net-mgmt/net-snmp/Makefile
  head/net-mgmt/net-snmp/pkg-plist

Modified: head/net-mgmt/net-snmp/Makefile
==============================================================================
--- head/net-mgmt/net-snmp/Makefile	Fri Nov 22 23:53:35 2013	(r334625)
+++ head/net-mgmt/net-snmp/Makefile	Sat Nov 23 00:15:03 2013	(r334626)
@@ -158,6 +158,10 @@ NET_SNMP_WITH_MIB_MODULE_LIST+=	sctp-mib
 CONFIGURE_ARGS+=	--with-libs="-lssp_nonshared"
 .endif
 
+.if ${OSVERSION} >= 1000000
+CFLAGS+=	-D_WANT_IFADDR
+.endif
+
 .if ${PORT_OPTIONS:MMFD_REWRITES}
 CONFIGURE_ARGS+=--enable-mfd-rewrites
 NET_SNMP_WITH_MIB_MODULE_LIST+=	if-mib

Added: head/net-mgmt/net-snmp/files/patch-Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-mgmt/net-snmp/files/patch-Makefile.in	Sat Nov 23 00:15:03 2013	(r334626)
@@ -0,0 +1,11 @@
+--- Makefile.in.orig	2013-11-22 12:27:23.000000000 -0800
++++ Makefile.in	2013-11-22 12:28:30.000000000 -0800
+@@ -20,7 +20,7 @@
+ INCLUDESUBDIRHEADERS= aix.h bsd.h bsdi3.h bsdi4.h bsdi.h cygwin.h \
+ 	darwin.h darwin7.h darwin8.h darwin9.h darwin10.h dragonfly.h dynix.h \
+ 	freebsd2.h freebsd3.h freebsd4.h freebsd5.h freebsd6.h \
+-	freebsd7.h freebsd8.h freebsd9.h freebsd10.h freebsd.h \
++	freebsd7.h freebsd8.h freebsd9.h freebsd10.h freebsd11.h freebsd.h \
+         generic.h \
+ 	hpux.h irix.h linux.h mingw32.h mips.h netbsd.h osf5.h \
+ 	openbsd.h openbsd5.h openbsd4.h \

Modified: head/net-mgmt/net-snmp/pkg-plist
==============================================================================
--- head/net-mgmt/net-snmp/pkg-plist	Fri Nov 22 23:53:35 2013	(r334625)
+++ head/net-mgmt/net-snmp/pkg-plist	Sat Nov 23 00:15:03 2013	(r334626)
@@ -183,6 +183,7 @@ include/net-snmp/system/freebsd7.h
 include/net-snmp/system/freebsd8.h
 include/net-snmp/system/freebsd9.h
 include/net-snmp/system/freebsd10.h
+include/net-snmp/system/freebsd11.h
 include/net-snmp/system/generic.h
 include/net-snmp/system/hpux.h
 include/net-snmp/system/irix.h


More information about the svn-ports-head mailing list