summaryrefslogtreecommitdiffstats
path: root/rescue
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2015-01-25 00:30:22 +0000
committerngie <ngie@FreeBSD.org>2015-01-25 00:30:22 +0000
commit51ac90809f77332c959522197ee46912e64cb52c (patch)
tree4e4cf3c83320b32d211573c66ef9418c88b017df /rescue
parent20758e801e2b96a60ff0ac61ac87d47e9e935201 (diff)
downloadFreeBSD-src-51ac90809f77332c959522197ee46912e64cb52c.zip
FreeBSD-src-51ac90809f77332c959522197ee46912e64cb52c.tar.gz
Only build vi support into rescue if MK_VI != no
Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'rescue')
-rw-r--r--rescue/rescue/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/rescue/rescue/Makefile b/rescue/rescue/Makefile
index e08ec29..cb4422d 100644
--- a/rescue/rescue/Makefile
+++ b/rescue/rescue/Makefile
@@ -199,8 +199,10 @@ CRUNCH_LIBS+= -lcrypto
.endif
CRUNCH_LIBS+= -lmd
+.if ${MK_VI} != "no"
CRUNCH_PROGS_usr.bin+= vi
CRUNCH_ALIAS_vi= ex
+.endif
CRUNCH_PROGS_usr.bin+= id
CRUNCH_ALIAS_id= groups whoami
OpenPOWER on IntegriCloud