summaryrefslogtreecommitdiff
path: root/net/net-snmp/patches/patch-dt
diff options
context:
space:
mode:
Diffstat (limited to 'net/net-snmp/patches/patch-dt')
-rw-r--r--net/net-snmp/patches/patch-dt18
1 files changed, 18 insertions, 0 deletions
diff --git a/net/net-snmp/patches/patch-dt b/net/net-snmp/patches/patch-dt
new file mode 100644
index 00000000000..f6e4bc96cb6
--- /dev/null
+++ b/net/net-snmp/patches/patch-dt
@@ -0,0 +1,18 @@
+$NetBSD: patch-dt,v 1.1 2006/03/19 22:03:29 joerg Exp $
+
+--- agent/Makefile.in.orig 2006-03-19 21:34:14.000000000 +0000
++++ agent/Makefile.in
+@@ -136,8 +136,12 @@ libnetsnmpagent.$(LIB_EXTENSION)$(LIB_VE
+ $(LIB_LD_CMD) libnetsnmpagent.$(LIB_EXTENSION)$(LIB_VERSION) ${LLIBAGENTOBJS} $(LIB_LD_LIBS)
+ $(RANLIB) libnetsnmpagent.$(LIB_EXTENSION)$(LIB_VERSION)
+
++.if ${OPSYS} == "DragonFly"
++MIB_SYSTEM_LIBS= -lkinfo
++.endif
++
+ libnetsnmpmibs.$(LIB_EXTENSION)$(LIB_VERSION): ${LMIBOBJS}
+- $(LIB_LD_CMD) libnetsnmpmibs.$(LIB_EXTENSION)$(LIB_VERSION) ${LMIBOBJS} $(LIB_LD_LIBS)
++ $(LIB_LD_CMD) libnetsnmpmibs.$(LIB_EXTENSION)$(LIB_VERSION) ${LMIBOBJS} $(LIB_LD_LIBS) $(MIB_SYSTEM_LIBS)
+ $(RANLIB) libnetsnmpmibs.$(LIB_EXTENSION)$(LIB_VERSION)
+
+ agentlib: libnetsnmpagent.$(LIB_EXTENSION)$(LIB_VERSION)