From 694ea43a69db52916963f128ac2f233522abb53a Mon Sep 17 00:00:00 2001 From: ngie Date: Wed, 4 Jan 2017 00:39:00 +0000 Subject: MFC r310664: Only build/install usr.sbin/bsnmpd/modules/snmp_wlan if MK_WIRELESS != no --- usr.sbin/bsnmpd/modules/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'usr.sbin/bsnmpd') diff --git a/usr.sbin/bsnmpd/modules/Makefile b/usr.sbin/bsnmpd/modules/Makefile index 18d3085..631133e 100644 --- a/usr.sbin/bsnmpd/modules/Makefile +++ b/usr.sbin/bsnmpd/modules/Makefile @@ -17,7 +17,6 @@ SUBDIR= ${_snmp_atm} \ snmp_target \ snmp_usm \ snmp_vacm \ - snmp_wlan .if ${MK_PF} != "no" SUBDIR+=snmp_pf @@ -27,6 +26,10 @@ SUBDIR+=snmp_pf SUBDIR+=snmp_netgraph .endif +.if ${MK_WIRELESS} != "no" +SUBDIR+=snmp_wlan +.endif + INCS= snmpmod.h INCSDIR= ${INCLUDEDIR}/bsnmp -- cgit v1.1