a few OptionalObsoleteFiles.inc improvements
Alexander Best
arundel at freebsd.org
Fri Dec 17 16:58:40 UTC 2010
On Tue Dec 14 10, b. f. wrote:
> Alexander Best wrote:
>
> >any thoughts on this patch? it adds files which will be removed when
> >WITHOUT_SYSCONS is set. also it makes sure sysinstall(8) and sade(8) only get
> >installed when WITHOUT_SYSINSTALL wasn't defined and also that any related
> >executables and manual pages get removed if in fact that var is defined.
>
> ...
>
> >diff --git a/usr.sbin/Makefile b/usr.sbin/Makefile
> >index f3e853e..2151868 100644
> >--- a/usr.sbin/Makefile
> >+++ b/usr.sbin/Makefile
> >@@ -250,7 +250,6 @@ SUBDIR+= ftp-proxy
> > SUBDIR+= pkg_install
> > .endif
> >
> >-# XXX MK_TOOLCHAIN?
> > .if ${MK_PMC} != "no"
> > SUBDIR+= pmcannotate
> > SUBDIR+= pmccontrol
> >@@ -283,7 +282,9 @@ SUBDIR+= praliases
> > SUBDIR+= sendmail
> > .endif
> >
> >+.if ${MK_SYSINSTALL} != "no"
> > SUBDIR+= sysinstall
> >+.endif
>
> I'm glad to see that you're filling in some of the many missing bits
> in this file.
yet another addition.
cheers.
alex
>
> The last part of your patch reverts a change that Warner Losh made in
> r212525 as part of his tbemd project merge. It's possible that this
> change may have been an unintended, but it followed a discussion in
> which Warner rejected a related patch proposed by Garrett Cooper,
> partly because sysinstall is included in build-tools in Makefile.inc1,
> even though some thought that it should not be. In any event, you
> should probably look into that before committing the last part of your
> patch.
>
> b.
--
a13x
-------------- next part --------------
diff --git a/tools/build/mk/OptionalObsoleteFiles.inc b/tools/build/mk/OptionalObsoleteFiles.inc
index db8251c..ece6af9 100644
--- a/tools/build/mk/OptionalObsoleteFiles.inc
+++ b/tools/build/mk/OptionalObsoleteFiles.inc
@@ -2232,6 +2232,9 @@ OLD_FILES+=usr/share/sendmail/cf/siteconfig/uucp.ucbvax.m4
.if ${MK_TCSH} == no
OLD_FILES+=bin/csh
OLD_FILES+=bin/tcsh
+OLD_FILES+=etc/csh.cshrc
+OLD_FILES+=etc/csh.login
+OLD_FILES+=etc/csh.logout
OLD_FILES+=rescue/csh
OLD_FILES+=rescue/tcsh
OLD_FILES+=usr/share/examples/tcsh/complete.tcsh
More information about the freebsd-current
mailing list