summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorjmmv <jmmv@FreeBSD.org>2013-11-08 14:24:47 +0000
committerjmmv <jmmv@FreeBSD.org>2013-11-08 14:24:47 +0000
commit627bb4f0bd2020972732244313ae50700ad26af2 (patch)
treeb24803c1f4d0f4f5e9536ebe8ff71f4dacf44b63 /usr.bin
parent74f0db8200d4bd28326cec2dad424441e91523ed (diff)
downloadFreeBSD-src-627bb4f0bd2020972732244313ae50700ad26af2.zip
FreeBSD-src-627bb4f0bd2020972732244313ae50700ad26af2.tar.gz
Subsume the functionality of MK_ATF into MK_TESTS.
There is no reason to keep the two knobs separate: if tests are enabled, the ATF libraries are required; and if tests are disabled, the ATF libraries are not necessary. Keeping the two just serves to complicate the build. Reviewed by: freebsd-testing Approved by: rpaulo (mentor)
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/Makefile b/usr.bin/Makefile
index 92958ae..cbee3fb 100644
--- a/usr.bin/Makefile
+++ b/usr.bin/Makefile
@@ -210,10 +210,6 @@ SUBDIR= alias \
SUBDIR+= at
.endif
-.if ${MK_ATF} != "no"
-_atf= atf
-.endif
-
.if ${MK_ATM} != "no"
SUBDIR+= atm
.endif
@@ -332,6 +328,10 @@ SUBDIR+= vacation
SUBDIR+= telnet
.endif
+.if ${MK_TESTS} != "no"
+_atf= atf
+.endif
+
.if ${MK_TEXTPROC} != "no"
SUBDIR+= checknr
SUBDIR+= colcrt
OpenPOWER on IntegriCloud