summaryrefslogtreecommitdiff
path: root/rescue
diff options
context:
space:
mode:
authorngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>2015-01-25 00:30:22 +0000
committerngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>2015-01-25 00:30:22 +0000
commit865b4739e0ff2548c15ccbf9f3bf2339e2fd688f (patch)
tree4e4cf3c83320b32d211573c66ef9418c88b017df /rescue
parent830178c9e4f5167fac45fd16ee803dc0050a9372 (diff)
downloadfreebsd-865b4739e0ff2548c15ccbf9f3bf2339e2fd688f.tar.gz
freebsd-865b4739e0ff2548c15ccbf9f3bf2339e2fd688f.tar.bz2
Only build vi support into rescue if MK_VI != no
Sponsored by: EMC / Isilon Storage Division git-svn-id: http://svn.freebsd.org/base/head@277665 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
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 e08ec2953f1..cb4422d4528 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