summaryrefslogtreecommitdiffstats
path: root/rescue
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2003-07-18 01:07:18 +0000
committerobrien <obrien@FreeBSD.org>2003-07-18 01:07:18 +0000
commitb9c3afb2ea179c6b6448a82a4976fbdd21a8ec89 (patch)
tree995dffdb155deac1bf25226f72b92a33ef69b654 /rescue
parent5d7e53d23e6b1542634f43d15f2e618e1e1c4c10 (diff)
downloadFreeBSD-src-b9c3afb2ea179c6b6448a82a4976fbdd21a8ec89.zip
FreeBSD-src-b9c3afb2ea179c6b6448a82a4976fbdd21a8ec89.tar.gz
Obey NOCRYPT
Submitted by: Skip Ford <skip.ford@verizon.net>
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 01440e9..164f324 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= [
OpenPOWER on IntegriCloud