From owner-freebsd-stable Mon Apr 3 14:57:15 2000 Delivered-To: freebsd-stable@freebsd.org Received: from server.baldwin.cx (jobaldwi.campus.vt.edu [198.82.67.146]) by hub.freebsd.org (Postfix) with ESMTP id 4D94537B68C for ; Mon, 3 Apr 2000 14:57:11 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: from john.baldwin.cx (john [10.0.0.2]) by server.baldwin.cx (8.9.3/8.9.3) with ESMTP id RAA99605; Mon, 3 Apr 2000 17:55:50 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-Id: <200004032155.RAA99605@server.baldwin.cx> X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <14569.3599.275661.875138@hip186.ch.intel.com> Date: Mon, 03 Apr 2000 17:55:50 -0400 (EDT) From: John Baldwin To: John Reynolds~ Subject: Re: make world failed Cc: stable@FreeBSD.org, remorse code , Andy Farkas Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 03-Apr-00 John Reynolds~ wrote: > > [ On Tuesday, April 4, Andy Farkas wrote: ] >> >> Not too bad an idea... but I have yet to figure out how you tell what >> version of FreeBSD code is in your src/ tree! >> > > would > > /usr/src/sys/conf/newvers.sh > > do the trick? This gets run during the compile of a kernel. Seems like a grep > or two here and there could give you the info you needed. No need, the source already knows what version it is. You can just modify the version it checks against in /usr/src/Makefile.inc based on the branch. For example, -current would check for uname -r < 5, and releng_4 would check for uname -r < 4, etc. > -Jr -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message