git: 51509500acdc - main - Remove bsnmpd tests when MK_BSNMP == no

From: Enji Cooper <ngie_at_FreeBSD.org>
Date: Tue, 03 Feb 2026 05:13:10 UTC
The branch main has been updated by ngie:

URL: https://cgit.FreeBSD.org/src/commit/?id=51509500acdc5d23285a962e9c55dd9e38d2b30a

commit 51509500acdc5d23285a962e9c55dd9e38d2b30a
Author:     Enji Cooper <ngie@FreeBSD.org>
AuthorDate: 2026-02-03 05:12:25 +0000
Commit:     Enji Cooper <ngie@FreeBSD.org>
CommitDate: 2026-02-03 05:12:25 +0000

    Remove bsnmpd tests when MK_BSNMP == no
    
    MFC after:      1 week
---
 tools/build/mk/OptionalObsoleteFiles.inc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tools/build/mk/OptionalObsoleteFiles.inc b/tools/build/mk/OptionalObsoleteFiles.inc
index a0d3cf902337..1025eb63fd87 100644
--- a/tools/build/mk/OptionalObsoleteFiles.inc
+++ b/tools/build/mk/OptionalObsoleteFiles.inc
@@ -748,10 +748,13 @@ OLD_FILES+=usr/share/snmp/mibs/BRIDGE-MIB.txt
 OLD_FILES+=usr/share/snmp/mibs/FOKUS-MIB.txt
 OLD_FILES+=usr/share/snmp/mibs/FREEBSD-MIB.txt
 OLD_FILES+=usr/share/snmp/mibs/RSTP-MIB.txt
+OLD_FILES+=usr/tests/lib/libbsnmp/bsnmpd_test
+OLD_FILES+=usr/tests/lib/libbsnmp/Kyuafile
 OLD_DIRS+=usr/include/bsnmp
 OLD_DIRS+=usr/share/snmp
 OLD_DIRS+=usr/share/snmp/defs
 OLD_DIRS+=usr/share/snmp/mibs
+OLD_DIRS+=usr/tests/lib/libbsnmp
 .endif
 
 .if ${MK_CALENDAR} == no