summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-04-18 07:01:35 +0000
committerru <ru@FreeBSD.org>2002-04-18 07:01:35 +0000
commit8a3e2794aff3c58285cb80abba0ef8933b096ef6 (patch)
treea897713e5ca22c9403395caeb3e41294ee0b4cd0 /sbin
parent06e6019ff340c96e515316e2a36266267668b8ed (diff)
downloadFreeBSD-src-8a3e2794aff3c58285cb80abba0ef8933b096ef6.zip
FreeBSD-src-8a3e2794aff3c58285cb80abba0ef8933b096ef6.tar.gz
Replaced exists() tests with two equivalent defined().
LIBDIR is defined in bsd.own.mk but sys.mk no longer includes bsd.own.mk as of revision 1.60.
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 bb47aac..1148d8f 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 bd84cf5..72043a1 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}
OpenPOWER on IntegriCloud