aboutsummaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2002-04-18 07:01:35 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2002-04-18 07:01:35 +0000
commit71b3ac84e182cd9147daea5ae05566b9d1817af8 (patch)
treea897713e5ca22c9403395caeb3e41294ee0b4cd0 /sbin
parent96f1512e70f3833b79602a0e23ccea902ba6e234 (diff)
Notes
Diffstat (limited to 'sbin')
-rw-r--r--sbin/dump/Makefile2
-rw-r--r--sbin/restore/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/sbin/dump/Makefile b/sbin/dump/Makefile
index bb47aac96837..1148d8fd73d3 100644
--- a/sbin/dump/Makefile
+++ b/sbin/dump/Makefile
@@ -22,7 +22,7 @@ SRCS= itime.c main.c optr.c dumprmt.c tape.c traverse.c unctime.c
MAN= dump.8
MLINKS+=dump.8 rdump.8
-.if exists(${DESTDIR}${LIBDIR}/libkrb.a) && defined(MAKE_KERBEROS4)
+.if defined(MAKE_KERBEROS4) && !defined(NO_OPENSSL) && !defined(NOCRYPT)
.PATH: ${.CURDIR}/../../crypto/kerberosIV/appl/bsd
SRCS+= krcmd.c kcmd.c rcmd_util.c
DPADD= ${LIBKRB} ${LIBCRYPTO}
diff --git a/sbin/restore/Makefile b/sbin/restore/Makefile
index bd84cf584f9f..72043a1c3c2c 100644
--- a/sbin/restore/Makefile
+++ b/sbin/restore/Makefile
@@ -12,7 +12,7 @@ MAN= restore.8
MLINKS+=restore.8 rrestore.8
.PATH: ${.CURDIR}/../dump
-.if exists(${DESTDIR}${LIBDIR}/libkrb.a) && defined(MAKE_KERBEROS4)
+.if defined(MAKE_KERBEROS4) && !defined(NO_OPENSSL) && !defined(NOCRYPT)
.PATH: ${.CURDIR}/../../crypto/kerberosIV/appl/bsd
SRCS+= krcmd.c kcmd.c rcmd_util.c
DPADD+= ${LIBKRB} ${LIBCRYPTO}