From 323c69d480d4f98f338b3d3d2ec234aeadc3f6ec Mon Sep 17 00:00:00 2001 From: markm Date: Sun, 19 Sep 1999 22:11:15 +0000 Subject: Fix for new Kerberos4. --- bin/rcp/Makefile | 8 +++++--- bin/rcp/rcp.c | 1 + 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'bin/rcp') diff --git a/bin/rcp/Makefile b/bin/rcp/Makefile index adaf5c4..d4fa4e8 100644 --- a/bin/rcp/Makefile +++ b/bin/rcp/Makefile @@ -3,17 +3,19 @@ PROG= rcp SRCS= rcp.c util.c +CFLAGS+=-DBINDIR=${BINDIR} .if exists(${DESTDIR}${LIBDIR}/libkrb.a) && defined(MAKE_KERBEROS4) -SRCS+= krcmd.c kcmd.c rcmd_util.c encrypt.c +SRCS+= krcmd.c kcmd.c rcmd_util.c DPADD= ${LIBUTIL} ${LIBKRB} ${LIBDES} CFLAGS+=-DKERBEROS -DCRYPT -DHAVE_CONFIG_H \ -I${.CURDIR}/../../kerberosIV/include \ -I${.CURDIR}/../../crypto/kerberosIV/include \ -I${.CURDIR}/../../crypto/kerberosIV/lib/roken \ - -I${.CURDIR}/../../crypto/kerberosIV/appl/bsd + -I${.CURDIR}/../../crypto/kerberosIV/appl/bsd \ + -I${.CURDIR} LDADD= -lutil -lkrb -ldes -DISTRIBUTION= krb +DISTRIBUTION= krb4 .PATH: ${.CURDIR}/../../crypto/kerberosIV/appl/bsd .endif diff --git a/bin/rcp/rcp.c b/bin/rcp/rcp.c index 6582808..292df37 100644 --- a/bin/rcp/rcp.c +++ b/bin/rcp/rcp.c @@ -74,6 +74,7 @@ static const char rcsid[] = #ifdef KERBEROS #include #include +#include "bsd_locl.h" char dst_realm_buf[REALM_SZ]; char *dest_realm = NULL; -- cgit v1.1