summaryrefslogtreecommitdiffstats
path: root/sbin/nfsd
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>1995-01-30 18:56:06 +0000
committerdfr <dfr@FreeBSD.org>1995-01-30 18:56:06 +0000
commit4ae95525d65fdfcdfabb95253dc8cfdc89dc475b (patch)
tree36354dce600b3e81ff522fa0dfcc4c183a88ffe9 /sbin/nfsd
parent27a6b3e94f945fc031c724ea9c495c977bc2fa57 (diff)
downloadFreeBSD-src-4ae95525d65fdfcdfabb95253dc8cfdc89dc475b.zip
FreeBSD-src-4ae95525d65fdfcdfabb95253dc8cfdc89dc475b.tar.gz
Add support for kerberised NQNFS.
Diffstat (limited to 'sbin/nfsd')
-rw-r--r--sbin/nfsd/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/sbin/nfsd/Makefile b/sbin/nfsd/Makefile
index a881d5e..cbc442d 100644
--- a/sbin/nfsd/Makefile
+++ b/sbin/nfsd/Makefile
@@ -4,4 +4,12 @@ PROG= nfsd
CFLAGS+=-DNFS
MAN8= nfsd.8
+.if exists(${DESTDIR}/usr/lib/libkrb.a) && (defined(MAKE_KERBEROS) \
+ || defined(MAKE_EBONES))
+CFLAGS+=-DKERBEROS
+DPADD= ${LIBKRB} ${LIBDES}
+LDADD= -lkrb -ldes
+DISTRIBUTION= krb
+.endif
+
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud