Bug 88840

Summary: Enable use of CVSROOT variable into src Makefile (for update target)
Product: Base System Reporter: User & <luca>
Component: miscAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 5.4-STABLE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description User & 2005-11-11 12:40:14 UTC
              If you set CVS_UPDATE in make.conf you can update system source files by CVS system. If you want to change the CVS server you can set the CVSROOT, but the code in Makefile.inc1 did not take that parameter.

Fix: Apply this little patch and now (if you define CVSROOT var) cvs use new server address, otherwise it update from the default server!
How-To-Repeat:               cd /usr/src; make -DCVS_UPDATE -DCVSROOT=xxx
the new XXX server is ignored.
Comment 1 ru freebsd_committer freebsd_triage 2005-11-11 14:04:53 UTC
State Changed
From-To: open->closed

CVSROOT is special environment variable that is already 
set in environment for many people, and enforcing it 
through the -d option may upset some of them. 

What you want is already possible by doing 
make -DCVS_UPDATE CVS="cvs -d xxx"