summaryrefslogtreecommitdiffstats
path: root/libexec/ftpd/Makefile
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>1996-08-09 09:02:31 +0000
committermarkm <markm@FreeBSD.org>1996-08-09 09:02:31 +0000
commita81e90df6d17789e93c7470d7662e17d29e64d6e (patch)
tree957fb9f78eb7fef3da050bca5e36cdf27b4437c9 /libexec/ftpd/Makefile
parente28846e4e97d0e1a11ec41714537df5c6d64a78b (diff)
downloadFreeBSD-src-a81e90df6d17789e93c7470d7662e17d29e64d6e.zip
FreeBSD-src-a81e90df6d17789e93c7470d7662e17d29e64d6e.tar.gz
Tidy up the Kerberised bits. While I'm here, fix some -Wall complaints.
Diffstat (limited to 'libexec/ftpd/Makefile')
-rw-r--r--libexec/ftpd/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/libexec/ftpd/Makefile b/libexec/ftpd/Makefile
index 50f51cf..75df272 100644
--- a/libexec/ftpd/Makefile
+++ b/libexec/ftpd/Makefile
@@ -1,4 +1,5 @@
# @(#)Makefile 8.2 (Berkeley) 4/4/94
+# $Id$
PROG= ftpd
MAN8= ftpd.8
@@ -11,11 +12,13 @@ DPADD= ${LIBSKEY} ${LIBMD} ${LIBCRYPT} ${LIBUTIL}
CLEANFILES+=ftpcmd.c y.tab.h
-.if defined(KERBEROS)
+.if exists(${DESTDIR}/usr/lib/libkrb.a) && defined(MAKE_EBONES)
+.PATH: ${.CURDIR}/../../usr.bin/login
SRCS+= klogin.c
LDADD+= -lkrb -ldes
DPADD+= ${LIBKRB} ${LIBDES}
CFLAGS+=-DKERBEROS
+DISTRIBUTION= krb
.endif
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud