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:
parent
f6092768b1
commit
d6d1ee211a
@ -166,6 +166,7 @@ __DEFAULT_YES_OPTIONS = \
|
|||||||
UNBOUND \
|
UNBOUND \
|
||||||
USB \
|
USB \
|
||||||
UTMPX \
|
UTMPX \
|
||||||
|
VI \
|
||||||
WIRELESS \
|
WIRELESS \
|
||||||
WPA_SUPPLICANT_EAPOL \
|
WPA_SUPPLICANT_EAPOL \
|
||||||
ZFS \
|
ZFS \
|
||||||
|
2
tools/build/options/WITHOUT_VI
Normal file
2
tools/build/options/WITHOUT_VI
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
.\" $FreeBSD$
|
||||||
|
Set to not build and install vi, view, ex and related programs.
|
@ -182,7 +182,6 @@ SUBDIR= alias \
|
|||||||
unvis \
|
unvis \
|
||||||
uudecode \
|
uudecode \
|
||||||
uuencode \
|
uuencode \
|
||||||
vi \
|
|
||||||
vis \
|
vis \
|
||||||
vmstat \
|
vmstat \
|
||||||
w \
|
w \
|
||||||
@ -361,6 +360,10 @@ SUBDIR+= xstr
|
|||||||
SUBDIR+= yacc
|
SUBDIR+= yacc
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
.if ${MK_VI} != "no"
|
||||||
|
SUBDIR+= vi
|
||||||
|
.endif
|
||||||
|
|
||||||
.if ${MK_USB} != "no"
|
.if ${MK_USB} != "no"
|
||||||
SUBDIR+= usbhidaction
|
SUBDIR+= usbhidaction
|
||||||
SUBDIR+= usbhidctl
|
SUBDIR+= usbhidctl
|
||||||
|
Loading…
x
Reference in New Issue
Block a user