From nobody@FreeBSD.org  Fri Jun 30 01:55:27 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 86CA516A4A0
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 30 Jun 2006 01:55:27 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 5642243D48
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 30 Jun 2006 01:55:27 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k5U1tR69050041
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 30 Jun 2006 01:55:27 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k5U1tROa050040;
	Fri, 30 Jun 2006 01:55:27 GMT
	(envelope-from nobody)
Message-Id: <200606300155.k5U1tROa050040@www.freebsd.org>
Date: Fri, 30 Jun 2006 01:55:27 GMT
From: Arseny Nasokin <tarc@tarc.po.cs.msu.su>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [PATCH] make update & CVSROOT
X-Send-Pr-Version: www-2.3

>Number:         99627
>Category:       misc
>Synopsis:       [build] [patch] make update & CVSROOT
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 30 02:00:35 GMT 2006
>Closed-Date:    Sat Sep 15 23:39:44 UTC 2012
>Last-Modified:  Sat Sep 15 23:39:44 UTC 2012
>Originator:     Arseny Nasokin
>Release:        FreeBSD 7.0-CURRENT
>Organization:
Moscow State University
>Environment:
affected many years.
>Description:
CVSROOT variable, defined by make(1), not in make(1) environment, is not
used in update via CVS.
>How-To-Repeat:
!!! updating with CVS, not CVSUp !!!
cd /usr/src && make update -DCVS_UPDATE CVSROOT='any-string'
--------------------------------------------------------------
>Fix:
There is patch for lastest Makefile.inc1 for CURRENT, but same patch is
for othes branches.


--- Makefile.inc1.orig  Tue Jun  6 22:07:58 2006
+++ Makefile.inc1       Fri Jun 30 05:45:29 2006
@@ -79,6 +79,9 @@
 .endif
 
 CVS?=          cvs
+.if defined(CVSROOT) && !empty(CVSROOT)
+CVS:= ${CVS} -d ${CVSROOT}
+.endif
 CVSFLAGS?=     -A -P -d -I!
 SUP?=          /usr/bin/csup
 SUPFLAGS?=     -g -L 2

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: eadler 
State-Changed-When: Sat Sep 15 23:39:39 UTC 2012 
State-Changed-Why:  
we will soon no longer support updating with CVS; svn is better 

http://www.freebsd.org/cgi/query-pr.cgi?pr=99627 
>Unformatted:
 >>> Updating /usr/src from CVS repository any-string
 --------------------------------------------------------------
 cd /usr/src; cvs -R -q update -A -P -d -I!
 ..(normal cvs update output)
  
