Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Dec 2011 19:11:44 -0500 (EST)
From:      Benjamin Kaduk <kaduk@MIT.EDU>
To:        "O. Hartmann" <ohartman@zedat.fu-berlin.de>
Cc:        freebsd-current@freebsd.org
Subject:   Re: How to update /usr/src/ using SVN and "make update"?
Message-ID:  <alpine.GSO.1.10.1112101911150.882@multics.mit.edu>
In-Reply-To: <4EE3C86F.6020101@zedat.fu-berlin.de>
References:  <4EE32D8D.2080308@zedat.fu-berlin.de> <201112100735.27683.break19@gmail.com> <201112100751.28788.break19@gmail.com> <4EE3C86F.6020101@zedat.fu-berlin.de>

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

[-- Attachment #1 --]
On Sat, 10 Dec 2011, O. Hartmann wrote:

> On 12/10/11 14:51, Chuck Burns wrote:
>> On Saturday, December 10, 2011 7:35:27 AM Chuck Burns wrote:
>>> Here is quick, hackish patch to allow your make update to work, it appears
>>> that the Makefile.inc1 does not include the full path to svn, while it does
>>> include the full path to cvs and other tools, this makes me think that the
>>> user path is ignored (which is a good thing)
>>>
>>
>> Heh, I am notorious for overthinking things.  My bad.. yes, just add
>> SVN=/usr/local/bin/svn
>> to your /etc/make.conf file
>>
>>  --
>> Chuck Burns
> Hello.
>
> I did this already, since it looked logical to me.
> It isn't simply about "please add ..." hakish things. If there would be
> no objection, it is a nice move to have the SVN variable setting
> mentioned in the man page for make.conf.
>
> If it isn't opportune to have the user-path in the system's search path,
> then a note should be droped into the manpage to inform the admin or
> user to set the SVN variable properly.

So, something like the attached?

-Ben Kaduk
[-- Attachment #2 --]
--- make.conf.5.orig	2011-12-10 19:04:21.000000000 -0500
+++ make.conf.5	2011-12-10 19:10:13.000000000 -0500
@@ -333,6 +333,12 @@
 .Pa src
 tree with
 .Dq Li "make update" .
+Note that since there is not a subversion client in the base system,
+you will need to set
+.Va SVN
+to the path to a
+.Xr svn 1
+binary.
 .It Va WWWSUPFILE
 .Pq Vt str
 The www

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