If kerberos is installed and enabled in make.conf, activate cvs's kserver

hooks.  This is a lot safer than 'cvs pserver'.
This commit is contained in:
Peter Wemm 1997-10-10 04:03:17 +00:00
parent bfb109df29
commit 67b76a559b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=30253

View File

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.16 1997/02/22 15:45:14 peter Exp $
# $Id: Makefile,v 1.17 1997/05/15 23:00:05 peter Exp $
.include "${.CURDIR}/../Makefile.inc"
@ -24,4 +24,15 @@ CFLAGS+= -I${.CURDIR} -I${.CURDIR}/../lib -I${CVSDIR}/src -I${CVSDIR}/lib -DHAVE
DPADD+= ${LIBCVS} ${LIBGNUREGEX} ${LIBMD} ${LIBCRYPT} ${LIBZ}
LDADD+= -lcvs -lgnuregex -lmd -lcrypt -lz
.if exists(${DESTDIR}/usr/lib/libkrb.a) && defined(MAKE_KERBEROS4)
CFLAGS+=-DHAVE_KERBEROS -DHAVE_KRB_GET_ERR_TEXT
LDADD+= -lkrb -ldes
DPADD+= ${LIBKRB} ${LIBDES}
DISTRIBUTION= krb
# XXX do we want to mess with this? It's probably not really worth it for
# the public freebsd stuff, but others might want it. It's an optional
# feature anyway, the -x switch is needed to activate it.
CFLAGS+= -DENCRYPTION
.endif
.include <bsd.prog.mk>