How to update /usr/src/ using SVN and "make update"?

Benjamin Kaduk kaduk at MIT.EDU
Sun Dec 11 00:11:49 UTC 2011


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
-------------- next part --------------
--- 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


More information about the freebsd-current mailing list