From owner-freebsd-current@FreeBSD.ORG Sat Dec 10 13:35:30 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6C273106564A for ; Sat, 10 Dec 2011 13:35:30 +0000 (UTC) (envelope-from break19@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 278918FC08 for ; Sat, 10 Dec 2011 13:35:29 +0000 (UTC) Received: by yenl9 with SMTP id l9so3730415yen.13 for ; Sat, 10 Dec 2011 05:35:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to:mime-version :content-type:message-id; bh=kp0mK33Rdcsl7ZRRo8PB2r7l5NmMCgkMnEtZILnv1DI=; b=EI2P7dhrLcw5VLS2MnVtTMdU4+Riqdw9O6y5C1n4sHISfitOE9q1XN+qSmL6vL9PPk wHXCcEoO5rbkTtnPaLOEsDJk0UEm0TxfNhZSW342vjJxRiVotseRUypq3K99/xDqGN58 igdybN7mudCnTHqXtmaV7Mzt8YxnK3miaDrb8= Received: by 10.236.201.137 with SMTP id b9mr17059160yho.124.1323524129571; Sat, 10 Dec 2011 05:35:29 -0800 (PST) Received: from freebeast.localnet (c-98-230-64-224.hsd1.al.comcast.net. [98.230.64.224]) by mx.google.com with ESMTPS id n5sm20496191yhk.1.2011.12.10.05.35.28 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 10 Dec 2011 05:35:29 -0800 (PST) From: Chuck Burns To: freebsd-current@freebsd.org Date: Sat, 10 Dec 2011 07:35:27 -0600 User-Agent: KMail/1.13.7 (FreeBSD/10.0-CURRENT; KDE/4.7.3; amd64; ; ) References: <4EE32D8D.2080308@zedat.fu-berlin.de> In-Reply-To: <4EE32D8D.2080308@zedat.fu-berlin.de> MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_fA24Okh8RQVWStY" Message-Id: <201112100735.27683.break19@gmail.com> Subject: Re: How to update /usr/src/ using SVN and "make update"? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Dec 2011 13:35:30 -0000 --Boundary-00=_fA24Okh8RQVWStY Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit On Saturday, December 10, 2011 3:59:41 AM O. Hartmann wrote: > Taking the instruction from manpage make.conf(5) and setting variable > SVN_UPDATE to YES, typing "make update" in /usr/src fails due to svn > can not be found. make.conf(5) also contains a variable "SUP" containing > the path for cvsup or cvsup and I'm desperately missing a similar > variable for subversion. Since subversion is a port, it might be so that > setting a variable in make.conf(5) conflicts with the BSD policy and > logic, but then I'd appreciate a hint like "you need to set the propper > environment variable for finding svn in the search path ...blablabla". > Using "make update" ends up in "svn not found". Typing manually "svn -r > HEAD" in /usr/src as it is shown when the make update fails works well, > since the shell's environment PATH variable knows /usr/local/bin to look > for. > I also file a PR not letting this getting forgotten, please close it, if > it is obsolete. > > Regards, > O. Hartmann 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) -- Chuck Burns The Southern Libertarian http://www.thesouthernlibertarian.com/ --Boundary-00=_fA24Okh8RQVWStY Content-Type: text/x-patch; charset="ISO-8859-1"; name="Makefile.inc1.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="Makefile.inc1.patch" Index: Makefile.inc1 =================================================================== --- Makefile.inc1 (revision 228349) +++ Makefile.inc1 (working copy) @@ -106,7 +106,7 @@ CVS?= cvs CVSFLAGS?= -A -P -d -I! -SVN?= svn +SVN?= /usr/local/bin/svn SVNFLAGS?= -r HEAD SUP?= /usr/bin/csup SUPFLAGS?= -g -L 2 --Boundary-00=_fA24Okh8RQVWStY--