Only build/install usr.sbin/bsnmpd/modules/snmp_wlan if MK_WIRELESS != no

MFC after:	1 week
This commit is contained in:
Enji Cooper 2016-12-28 05:16:41 +00:00
parent b3972edb64
commit 38bf4fd787
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=310664
2 changed files with 10 additions and 1 deletions

View File

@ -9021,6 +9021,12 @@ OLD_FILES+=usr/share/man/man8/wlandebug.8.gz
OLD_FILES+=usr/share/man/man8/wpa_cli.8.gz
OLD_FILES+=usr/share/man/man8/wpa_passphrase.8.gz
OLD_FILES+=usr/share/man/man8/wpa_supplicant.8.gz
OLD_FILES+=usr/lib/snmp_wlan.so
OLD_LIBS+=usr/lib/snmp_wlan.so.6
# bsnmp module
OLD_FILES+=usr/share/man/man3/snmp_wlan.3.gz
OLD_FILES+=usr/share/snmp/defs/wlan_tree.def
OLD_FILES+=usr/share/snmp/mibs/BEGEMOT-WIRELESS-MIB.txt
.endif
.if ${MK_SVNLITE} == no || ${MK_SVN} == yes

View File

@ -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