Revert parts of r337849 and r337857

This fixes the build and I will redo these changes as part of a future review
that organizes them differently.  The way I tried to do it here could be done
better.  Sorry for the noise.

Approved by:	will (mentor)
Differential Revision:	https://reviews.freebsd.org/D16737
This commit is contained in:
Brad Davis
2018-08-15 23:18:34 +00:00
parent 799bbc25b9
commit 3349f8bb8f
6 changed files with 19 additions and 21 deletions
+1 -11
View File
@@ -8,11 +8,8 @@
.include <src.opts.mk>
CONFGROUPS= ETC ROOT
CONFGROUPS= ETC
ETC= csh.cshrc csh.login csh.logout
ROOT= dot.cshrc
ROOTDIR= /root
ROOTNAME= .cshrc
PACKAGE=runtime
TCSHDIR= ${SRCTOP}/contrib/tcsh
.PATH: ${TCSHDIR}
@@ -153,11 +150,4 @@ tc.const.h: tc.const.c sh.char.h config.h config_f.h sh.types.h sh.err.h ${BUILD
sort >> ${.TARGET}
@echo '#endif /* _h_tc_const */' >> ${.TARGET}
beforeinstall:
rm -f ${DESTDIR}/.cshrc
afterinstallconfig:
sed -i "" -e 's;/bin/sh;/bin/csh;' ${DESTDIR}/etc/master.passwd
pwd_mkdb -i -p -d ${DESTDIR}/etc ${DESTDIR}/etc/master.passwd
.include <bsd.prog.mk>