summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2003-11-12 17:09:13 +0000
committerharti <harti@FreeBSD.org>2003-11-12 17:09:13 +0000
commit336e573a138e608bb085d36551cc8bcd54a6dd5f (patch)
tree9f3892734e37d5ea72144f5b674aaa3b958d35d7 /usr.sbin
parente97c7f33cb50b8b2ac842ec44c0d821c33fb19d1 (diff)
downloadFreeBSD-src-336e573a138e608bb085d36551cc8bcd54a6dd5f.zip
FreeBSD-src-336e573a138e608bb085d36551cc8bcd54a6dd5f.tar.gz
The snmp_netgraph module depends on libnetgraph. So add a dependency and
add libnetgraph to the list of prebuilt libraries in the main Makefile. Reviewed by: ru
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/bsnmpd/modules/snmp_netgraph/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.sbin/bsnmpd/modules/snmp_netgraph/Makefile b/usr.sbin/bsnmpd/modules/snmp_netgraph/Makefile
index b101b38..95b401a3 100644
--- a/usr.sbin/bsnmpd/modules/snmp_netgraph/Makefile
+++ b/usr.sbin/bsnmpd/modules/snmp_netgraph/Makefile
@@ -12,6 +12,9 @@ MIBS= BEGEMOT-NETGRAPH.txt
DEFS= ${MOD}_tree.def
INCS= snmp_${MOD}.h
+DPADD= ${LIBNETGRAPH}
+LDADD= -lnetgraph
+
CFLAGS+= -I${CONTRIB}/lib -I${CONTRIB}/snmpd -I${.CURDIR}
.include <bsd.lib.mk>
OpenPOWER on IntegriCloud