summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-10-03 19:38:21 +0000
committerphk <phk@FreeBSD.org>2003-10-03 19:38:21 +0000
commit8204819ae138013ef43a81adcddf441b66f8f3e8 (patch)
tree2b11801a866767d3a596a120d8b96b0fe54e26c8 /etc
parentb954c1afc8f25cca0e7999575988949c368800fc (diff)
downloadFreeBSD-src-8204819ae138013ef43a81adcddf441b66f8f3e8.zip
FreeBSD-src-8204819ae138013ef43a81adcddf441b66f8f3e8.tar.gz
Only install .k5login if people have not set NO_KERBEROS.
Diffstat (limited to 'etc')
-rw-r--r--etc/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/etc/Makefile b/etc/Makefile
index e048b0a..6ec12b4 100644
--- a/etc/Makefile
+++ b/etc/Makefile
@@ -95,11 +95,14 @@ distribution:
cd ${.CURDIR}; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \
${SSL} ${DESTDIR}/etc/ssl
.endif
+.if !defined(NO_KERBEROS)
cd ${.CURDIR}/root; \
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \
- dot.cshrc ${DESTDIR}/root/.cshrc; \
+ dot.k5login ${DESTDIR}/root/.k5login;
+.endif
+ cd ${.CURDIR}/root; \
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \
- dot.k5login ${DESTDIR}/root/.k5login; \
+ dot.cshrc ${DESTDIR}/root/.cshrc; \
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \
dot.login ${DESTDIR}/root/.login; \
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \
OpenPOWER on IntegriCloud