Only build vi support into rescue if MK_VI != no

Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
ngie 2015-01-25 00:30:22 +00:00
parent 20758e801e
commit 51ac90809f

View File

@ -199,8 +199,10 @@ CRUNCH_LIBS+= -lcrypto
.endif .endif
CRUNCH_LIBS+= -lmd CRUNCH_LIBS+= -lmd
.if ${MK_VI} != "no"
CRUNCH_PROGS_usr.bin+= vi CRUNCH_PROGS_usr.bin+= vi
CRUNCH_ALIAS_vi= ex CRUNCH_ALIAS_vi= ex
.endif
CRUNCH_PROGS_usr.bin+= id CRUNCH_PROGS_usr.bin+= id
CRUNCH_ALIAS_id= groups whoami CRUNCH_ALIAS_id= groups whoami