The branch main has been updated by markj:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=43e045c1733d50fad79f3a53e05140b8dc0d7fa6

commit 43e045c1733d50fad79f3a53e05140b8dc0d7fa6
Author:     Franco Fichtner <[email protected]>
AuthorDate: 2024-11-18 18:36:46 +0000
Commit:     Mark Johnston <[email protected]>
CommitDate: 2024-11-18 18:36:46 +0000

    atf: Guard libexec/atf with WITH_TESTS_SUPPORT
    
    Other atf components are guarded by WITH_TESTS_SUPPORT already.
    WITH_TESTS is for actual tests.
    
    Reviewed by:    markj
    MFC after:      1 week
    Differential Revision:  https://reviews.freebsd.org/D47660
---
 libexec/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/libexec/Makefile b/libexec/Makefile
index 8287690eeb3c..55e586434087 100644
--- a/libexec/Makefile
+++ b/libexec/Makefile
@@ -116,10 +116,13 @@ SUBDIR+=  tftpd
 .endif
 
 .if ${MK_TESTS} != "no"
-_atf=          atf
 _tests=                tests
 .endif
 
+.if ${MK_TESTS_SUPPORT} != "no"
+_atf=          atf
+.endif
+
 .if ${MK_NUAGEINIT} != "no"
 _nuageinit=    nuageinit
 .endif

Reply via email to