summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
Diffstat (limited to 'sbin')
-rw-r--r--sbin/dump/Makefile3
-rw-r--r--sbin/restore/Makefile3
2 files changed, 4 insertions, 2 deletions
diff --git a/sbin/dump/Makefile b/sbin/dump/Makefile
index 8a91697..a89e2c9 100644
--- a/sbin/dump/Makefile
+++ b/sbin/dump/Makefile
@@ -1,4 +1,5 @@
# @(#)Makefile 8.1 (Berkeley) 6/5/93
+# $Id$
# dump.h header file
# itime.c reads /etc/dumpdates
@@ -22,7 +23,7 @@ BINMODE=2555
MAN8= dump.8
MLINKS+=dump.8 rdump.8
-.if exists(${DESTDIR}/usr/lib/libkrb.a) && defined(MAKE_KERBEROS4)
+.if exists(${DESTDIR}${LIBDIR}/libkrb.a) && defined(MAKE_KERBEROS4)
.PATH: ${.CURDIR}/../../crypto/kerberosIV/appl/bsd
SRCS+= krcmd.c kcmd.c rcmd_util.c
LDADD+= -lkrb -ldes
diff --git a/sbin/restore/Makefile b/sbin/restore/Makefile
index 0b6ea61..2f6a99c 100644
--- a/sbin/restore/Makefile
+++ b/sbin/restore/Makefile
@@ -1,4 +1,5 @@
# @(#)Makefile 8.1 (Berkeley) 6/5/93
+# $Id$
PROG= restore
LINKS= ${BINDIR}/restore ${BINDIR}/rrestore
@@ -12,7 +13,7 @@ MAN8= restore.8
MLINKS+=restore.8 rrestore.8
.PATH: ${.CURDIR}/../dump
-.if exists(${DESTDIR}/usr/lib/libkrb.a) && defined(MAKE_KERBEROS4)
+.if exists(${DESTDIR}${LIBDIR}/libkrb.a) && defined(MAKE_KERBEROS4)
.PATH: ${.CURDIR}/../../crypto/kerberosIV/appl/bsd
SRCS+= krcmd.c kcmd.c rcmd_util.c
LDADD+= -lkrb -ldes
OpenPOWER on IntegriCloud