Bug 121118

Summary: Update OptionalObsoleteFiles.inc for builds without NCP
Product: Base System Reporter: Richard Tector <richardtector>
Component: miscAssignee: Antoine Brodin <antoine>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 7.0-PRERELEASE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Richard Tector 2008-02-26 12:20:03 UTC
The attached patch adds a list to tools/build/mk/OptionalObsoleteFiles.inc to remove the files built under the NCP category.
Therefore, setting WITHOUT_NCP=true in src.conf with patch allows make delete-old to remove the relevant files from the base system.

NB. I have added the lib32 alternatives for amd64. I assume these actually need putting under an if ARCH=amd64 if? I did not find any other examples in the original file where lib32/* libraries are set to be removed on a 64bit system.
The patch works fine however on an i386 system I have.

Fix: See attached patch.

Patch attached with submission follows:
Comment 1 Antoine Brodin freebsd_committer freebsd_triage 2008-02-26 17:53:24 UTC
Responsible Changed
From-To: freebsd-bugs->antoine

Take: this is in included in a patch I have for PR 120492.
Comment 2 dfilter service freebsd_committer freebsd_triage 2008-02-29 18:59:59 UTC
antoine     2008-02-29 18:59:28 UTC

  FreeBSD src repository

  Modified files:
    tools/build/mk       OptionalObsoleteFiles.inc 
  Log:
  Add files to remove when MK_GCOV, MK_IPX or MK_NCP are defined.
  
  Note: it may be a good idea to deduce obsolete usr/lib32/ files from
  obsolete lib/ and usr/lib/ files.
  
  PR:             120492
  PR:             121118
  PR:             121121
  Submitted by:   KAMIYA Satosi, Richard Tector
  Approved by:    rwatson (mentor)
  MFC after:      1 month
  
  Revision  Changes    Path
  1.13      +57 -9     src/tools/build/mk/OptionalObsoleteFiles.inc
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Antoine Brodin freebsd_committer freebsd_triage 2008-02-29 19:11:40 UTC
State Changed
From-To: open->patched

Patched in HEAD.
Comment 4 dfilter service freebsd_committer freebsd_triage 2008-03-30 14:56:27 UTC
antoine     2008-03-30 13:56:13 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    tools/build/mk       OptionalObsoleteFiles.inc 
  Log:
  MFC to RELENG_7:
    Add files to remove when MK_GCOV, MK_IPX or MK_NCP are defined.
  
    PR:             120492
    PR:             121118
    PR:             121121
    Submitted by:   KAMIYA Satosi, Richard Tector
    Approved by:    rwatson (mentor)
    MFC after:      1 month
  
  Revision  Changes    Path
  1.11.2.2  +61 -9     src/tools/build/mk/OptionalObsoleteFiles.inc
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 5 Antoine Brodin freebsd_committer freebsd_triage 2008-03-30 15:02:12 UTC
State Changed
From-To: patched->closed

Close: merged to RELENG_7. Thanks!