aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2022-11-23 17:14:18 +0000
committerEd Maste <emaste@FreeBSD.org>2022-11-29 21:04:05 +0000
commit67d2aaf078e967bb626cf50c53d679aad71aeaf9 (patch)
treedd56e91299c81c695eefd2492714f0c435a31ff7 /bin
parente59fa9b2e7306e1ddc73e58628c3b64cf915e3ae (diff)
downloadsrc-67d2aaf078e967bb626cf50c53d679aad71aeaf9.tar.gz
src-67d2aaf078e967bb626cf50c53d679aad71aeaf9.zip
Diffstat (limited to 'bin')
-rw-r--r--bin/csh/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/csh/Makefile b/bin/csh/Makefile
index 2281c11538d0..d59626703685 100644
--- a/bin/csh/Makefile
+++ b/bin/csh/Makefile
@@ -162,6 +162,9 @@ beforeinstallconfig:
rm -f ${DESTDIR}/.cshrc
afterinstallconfig:
- ${INSTALL_LINK} ${TAG_ARGS} ${DESTDIR}/root/.cshrc ${DESTDIR}/.cshrc
+ # XXX Set link mode explicitly via -m. We cannot use LINKMODE for this
+ # link, as it would also apply to the tcsh link above.
+ ${INSTALL_LINK} ${TAG_ARGS} -m ${CONFMODE} ${DESTDIR}/root/.cshrc \
+ ${DESTDIR}/.cshrc
.include <bsd.prog.mk>