Skip site navigation (1)Skip section navigation (2)
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:   misc/99627: [PATCH] make update & CVSROOT
Message-ID:  <200606300155.k5U1tROa050040@www.freebsd.org>
Resent-Message-ID: <200606300200.k5U20Zfx014117@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         99627
>Category:       misc
>Synopsis:       [PATCH] make update & CVSROOT
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 30 02:00:35 GMT 2006
>Closed-Date:
>Last-Modified:
>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) envirounment, 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:
>Unformatted:
 >>> Updating /usr/src from CVS repository any-string
 --------------------------------------------------------------
 cd /usr/src; cvs -R -q update -A -P -d -I!
 ..(normal cvs update output)
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606300155.k5U1tROa050040>