summaryrefslogtreecommitdiff
path: root/lib/libarchive
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2017-08-02 08:35:51 +0000
committerEnji Cooper <ngie@FreeBSD.org>2017-08-02 08:35:51 +0000
commit4b330699f819a81d8e34d471225143ffeb321855 (patch)
tree3794bbf32b858fa79c3e362a4b95adc8a7863010 /lib/libarchive
parentcd155b56033ab2693464bdade23e2ccd623e9936 (diff)
downloadsrc-test-4b330699f819a81d8e34d471225143ffeb321855.tar.gz
src-test-4b330699f819a81d8e34d471225143ffeb321855.zip
Convert traditional ${MK_TESTS} conditional idiom for including test
directories to SUBDIR.${MK_TESTS} idiom This is being done to pave the way for future work (and homogenity) in ^/projects/make-check-sandbox . No functional change intended. MFC after: 1 weeks
Notes
Notes: svn path=/head/; revision=321912
Diffstat (limited to 'lib/libarchive')
-rw-r--r--lib/libarchive/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libarchive/Makefile b/lib/libarchive/Makefile
index 646ee28f6c943..228854eeb3def 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>