summaryrefslogtreecommitdiffstats
path: root/libexec/ftpd/Makefile
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>1999-09-19 22:05:32 +0000
committermarkm <markm@FreeBSD.org>1999-09-19 22:05:32 +0000
commit0b2fe68756570c146bda89ff69a3d209aac9f8be (patch)
tree8d4295813f9b149f83950d8b50c74d07c35aa987 /libexec/ftpd/Makefile
parentfc84b1a733b5c4774a2dcd8035e4f71948716a55 (diff)
downloadFreeBSD-src-0b2fe68756570c146bda89ff69a3d209aac9f8be.zip
FreeBSD-src-0b2fe68756570c146bda89ff69a3d209aac9f8be.tar.gz
Fix for new Kerberos4. Make a fist cut at PAM-ising while I'm here.
Diffstat (limited to 'libexec/ftpd/Makefile')
-rw-r--r--libexec/ftpd/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/libexec/ftpd/Makefile b/libexec/ftpd/Makefile
index bd5453f..ad5d142 100644
--- a/libexec/ftpd/Makefile
+++ b/libexec/ftpd/Makefile
@@ -17,13 +17,11 @@ LSDIR= ../../bin/ls
SRCS+= ls.c cmp.c print.c stat_flags.c util.c
CFLAGS+=-DINTERNAL_LS -Dmain=ls_main -I${.CURDIR}/${LSDIR}
-.if exists(${DESTDIR}/usr/lib/libkrb.a) && defined(MAKE_KERBEROS4)
-.PATH: ${.CURDIR}/../../lib/libpam/modules/pam_kerberosIV
-SRCS+= klogin.c
-LDADD+= -lkrb -ldes -lcom_err
-DPADD+= ${LIBKRB} ${LIBDES} ${LIBCOM_ERR}
-CFLAGS+=-DKERBEROS
-DISTRIBUTION= krb
+.if defined(NOPAM)
+CFLAGS+=-DNOPAM
+.else
+DPADD+= ${LIBPAM}
+LDADD+= ${MINUSLPAM}
.endif
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud