aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/Makefile')
-rw-r--r--usr.sbin/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.sbin/Makefile b/usr.sbin/Makefile
index 730495bf37b7..c3f93ccb7a1f 100644
--- a/usr.sbin/Makefile
+++ b/usr.sbin/Makefile
@@ -48,7 +48,7 @@ SUBDIR= adduser \
mountd \
mptutil \
mtest \
- mtree \
+ ${_mtree} \
newsyslog \
nfscbd \
nfsd \
@@ -142,6 +142,10 @@ SUBDIR+= fdread
SUBDIR+= fdwrite
.endif
+.if ${MK_FMTREE} != "no"
+SUBDIR+= mtree
+.endif
+
.if ${MK_FREEBSD_UPDATE} != "no"
SUBDIR+= freebsd-update
.endif