From 7a02aaee750e7285510fc8c49cce14acd15b4bfc Mon Sep 17 00:00:00 2001 From: Bruce M Simpson Date: Thu, 2 Oct 2008 14:26:56 +0000 Subject: [PATCH] Only build the bsnmpd netgraph module if MK_NETGRAPH_SUPPORT is set. --- usr.sbin/bsnmpd/modules/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/usr.sbin/bsnmpd/modules/Makefile b/usr.sbin/bsnmpd/modules/Makefile index 578d1734d1c9..0ef4b7a60560 100644 --- a/usr.sbin/bsnmpd/modules/Makefile +++ b/usr.sbin/bsnmpd/modules/Makefile @@ -12,9 +12,12 @@ SUBDIR= ${_snmp_atm} \ snmp_bridge \ snmp_hostres \ snmp_mibII \ - snmp_netgraph \ snmp_pf +.if ${MK_NETGRAPH_SUPPORT} != "no" +SUBDIR+=snmp_netgraph +.endif + INCS= snmpmod.h INCSDIR= ${INCLUDEDIR}/bsnmp