summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2014-04-24 23:17:40 +0000
committerimp <imp@FreeBSD.org>2014-04-24 23:17:40 +0000
commit61fbb1ba9fa08215a056eac6eca53f76606d007b (patch)
treecb06b202d64ee9cec55e9277fb43418eaa2f3161 /usr.bin
parenta32e8ab24f11ea74b217bdfa0857c0dc3e12a4a2 (diff)
downloadFreeBSD-src-61fbb1ba9fa08215a056eac6eca53f76606d007b.zip
FreeBSD-src-61fbb1ba9fa08215a056eac6eca53f76606d007b.tar.gz
Add option WITHOUT_VI to not build/install vi. vi was the largest
binary without a knob to turn it off.
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 7403aa5..ef9381b 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
OpenPOWER on IntegriCloud