diff options
author | ngie <ngie@FreeBSD.org> | 2017-01-04 00:40:06 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2017-01-04 00:40:06 +0000 |
commit | f33dd63955a7cdea3d8a3464d803b6162db4ac4b (patch) | |
tree | 59c81cc07d0200212781ba70d5256f4cefe70163 | |
parent | e157ab5d279f81423fa91d4ac2947944a18e3696 (diff) | |
download | FreeBSD-src-f33dd63955a7cdea3d8a3464d803b6162db4ac4b.zip FreeBSD-src-f33dd63955a7cdea3d8a3464d803b6162db4ac4b.tar.gz |
MFstable/11 r311209:
MFC r310664:
Only build/install usr.sbin/bsnmpd/modules/snmp_wlan if MK_WIRELESS != no
-rw-r--r-- | tools/build/mk/OptionalObsoleteFiles.inc | 6 | ||||
-rw-r--r-- | usr.sbin/bsnmpd/modules/Makefile | 5 |
2 files changed, 10 insertions, 1 deletions
diff --git a/tools/build/mk/OptionalObsoleteFiles.inc b/tools/build/mk/OptionalObsoleteFiles.inc index b02cfa5..5d3917e 100644 --- a/tools/build/mk/OptionalObsoleteFiles.inc +++ b/tools/build/mk/OptionalObsoleteFiles.inc @@ -5695,6 +5695,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 diff --git a/usr.sbin/bsnmpd/modules/Makefile b/usr.sbin/bsnmpd/modules/Makefile index 45558b7..6b07be2 100644 --- a/usr.sbin/bsnmpd/modules/Makefile +++ b/usr.sbin/bsnmpd/modules/Makefile @@ -16,7 +16,6 @@ SUBDIR= ${_snmp_atm} \ snmp_target \ snmp_usm \ snmp_vacm \ - snmp_wlan .if ${MK_PF} != "no" SUBDIR+=snmp_pf @@ -26,6 +25,10 @@ SUBDIR+=snmp_pf SUBDIR+=snmp_netgraph .endif +.if ${MK_WIRELESS} != "no" +SUBDIR+=snmp_wlan +.endif + INCS= snmpmod.h INCSDIR= ${INCLUDEDIR}/bsnmp |