aboutsummaryrefslogtreecommitdiff
path: root/rescue
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2003-07-18 01:07:18 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2003-07-18 01:07:18 +0000
commitbfa053a8c5858544124a20170b1fe93b8f652a95 (patch)
tree995dffdb155deac1bf25226f72b92a33ef69b654 /rescue
parentfcaec66af7a4fea7bf880f2ae3a0c11a47da02a9 (diff)
downloadsrc-bfa053a8c5858544124a20170b1fe93b8f652a95.tar.gz
src-bfa053a8c5858544124a20170b1fe93b8f652a95.zip
Obey NOCRYPT
Submitted by: Skip Ford <skip.ford@verizon.net>
Notes
Notes: svn path=/head/; revision=117711
Diffstat (limited to 'rescue')
-rw-r--r--rescue/rescue/Makefile5
1 files changed, 4 insertions, 1 deletions
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= [