aboutsummaryrefslogtreecommitdiff
path: root/lib/libarchive/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libarchive/Makefile')
-rw-r--r--lib/libarchive/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libarchive/Makefile b/lib/libarchive/Makefile
index 646ee28f6c94..228854eeb3de 100644
--- a/lib/libarchive/Makefile
+++ b/lib/libarchive/Makefile
@@ -413,8 +413,6 @@ MLINKS+= archive_write_set_options.3 archive_write_set_format_option.3
MLINKS+= archive_write_set_options.3 archive_write_set_option.3
MLINKS+= libarchive.3 archive.3
-.if ${MK_TESTS} != "no"
-SUBDIR+= tests
-.endif
+SUBDIR.${MK_TESTS}+= tests
.include <bsd.lib.mk>