On Sat, Jan 09, 2010 at 12:08:09PM +0100, Oliver Fromme wrote:
> Roland Smith wrote:
>  > Henrik Hudson wrote:
>  > > Hey List,
>  > > 
>  > > Among other things I have in my /etc/src.conf
>  > > WITHOUT_NTP=yes
>  > > 
>  > > which from my understanding should not build ntpd, etc...
>  > > [...]
>  > > ntpd still exists in /usr/sbin and the man pages, etc...
>  > > seem to still be hanging around. Did I miss something?
>  > 
>  > Adding options to `/etc/src.conf` does not remove old binaries,
>  > libraries or manpages! It just prevents the system from building
>  > newer ones.
> 
> I'm afraid that's not true.
>
> When you disable something in src.conf(5), its files *will*
> be removed when you do "make delete-old".
> 
> See the file src/tools/build/mk/OptionalObsoleteFiles.inc
> for all the details.  It's included by src/ObsoleteFiles.inc
> which in turn is included by src/Makefile.inc1 (after
> /etc/src.conf was parsed by share/mk/bsd.own.mk).

Hmm, interesting. Thanks for the heads-up :-)

> If that doesn't work for WITHOUT_NTP, then that's a bug.
> Probably some entries missing in OptionalObsoleteFiles.inc.
 
There are a actually quite a lot missing, if you compare src.conf(5) with
/usr/src/tools/build/mk/OptionalObsoleteFiles.inc 

WITHOUT_ACCT ((or MK_ACCT) to begin with, WITHOUT_AMD, WITHOUT_APM,
WITHOUT_AT, WITHOUT_BZIP2 etc.

And a lot of others need to be filled in, like MK_BOOT, MK_CALENDAR, MK_CPP,
MK_CRYPT, etc.

I'll give improving the list a try, as soon as I can find some spare time. Got
some frozen bowden calbes on my bike to sort out first. :-/

Roland
-- 
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)

Attachment: pgppHn45d9edj.pgp
Description: PGP signature

Reply via email to