aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2014-04-24 23:17:40 +0000
committerWarner Losh <imp@FreeBSD.org>2014-04-24 23:17:40 +0000
commitd6d1ee211af13dc90f5084666e542a54239df6fc (patch)
treecb06b202d64ee9cec55e9277fb43418eaa2f3161 /usr.bin
parentf6092768b1d0989ed25e19af6a7e416a43b69581 (diff)
downloadsrc-d6d1ee211af13dc90f5084666e542a54239df6fc.tar.gz
src-d6d1ee211af13dc90f5084666e542a54239df6fc.zip
Add option WITHOUT_VI to not build/install vi. vi was the largest
binary without a knob to turn it off.
Notes
Notes: svn path=/head/; revision=264903
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/Makefile b/usr.bin/Makefile
index 7403aa545af8..ef9381b27107 100644
--- a/usr.bin/Makefile
+++ b/usr.bin/Makefile
@@ -182,7 +182,6 @@ SUBDIR= alias \
unvis \
uudecode \
uuencode \
- vi \
vis \
vmstat \
w \
@@ -361,6 +360,10 @@ SUBDIR+= xstr
SUBDIR+= yacc
.endif
+.if ${MK_VI} != "no"
+SUBDIR+= vi
+.endif
+
.if ${MK_USB} != "no"
SUBDIR+= usbhidaction
SUBDIR+= usbhidctl