Add option WITHOUT_VI to not build/install vi. vi was the largest

binary without a knob to turn it off.
This commit is contained in:
Warner Losh 2014-04-24 23:17:40 +00:00
parent f6092768b1
commit d6d1ee211a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=264903
3 changed files with 7 additions and 1 deletions

View File

@ -166,6 +166,7 @@ __DEFAULT_YES_OPTIONS = \
UNBOUND \
USB \
UTMPX \
VI \
WIRELESS \
WPA_SUPPLICANT_EAPOL \
ZFS \

View File

@ -0,0 +1,2 @@
.\" $FreeBSD$
Set to not build and install vi, view, ex and related programs.

View File

@ -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