From bfa053a8c5858544124a20170b1fe93b8f652a95 Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Fri, 18 Jul 2003 01:07:18 +0000 Subject: [PATCH] Obey NOCRYPT Submitted by: Skip Ford --- rescue/rescue/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rescue/rescue/Makefile b/rescue/rescue/Makefile index 01440e93acd3..164f324d91df 100644 --- a/rescue/rescue/Makefile +++ b/rescue/rescue/Makefile @@ -67,7 +67,10 @@ CRUNCH_SRCDIRS+= bin CRUNCH_PROGS_bin= cat chflags chio chmod cp date dd df domainname echo \ ed expr getfacl hostname kenv kill ln ls mkdir mv pax ps pwd \ realpath rm rmdir setfacl sh sleep stty sync test -CRUNCH_LIBS+= -lcrypt -lcrypto -ledit -lkvm -ll -lm -ltermcap -lutil +CRUNCH_LIBS+= -lcrypt -ledit -lkvm -ll -lm -ltermcap -lutil +.if exists(${.CURDIR}/../../crypto) && !defined(NOCRYPT) && !defined(NO_OPENSSL) +CRUNCH_LIBS+= -lcrypto +.endif # Additional options for specific programs CRUNCH_ALIAS_test= [