From owner-cvs-all@FreeBSD.ORG Sun May 4 00:26:30 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E5AE337B401; Sun, 4 May 2003 00:26:30 -0700 (PDT) Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B1D243FAF; Sun, 4 May 2003 00:26:20 -0700 (PDT) (envelope-from ru@whale.sunbay.crimea.ua) Received: from whale.sunbay.crimea.ua (ru@localhost [127.0.0.1]) h447QE62073451 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 4 May 2003 10:26:15 +0300 (EEST) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.12.9/8.12.8/Submit) id h447QE3q073446; Sun, 4 May 2003 10:26:14 +0300 (EEST) (envelope-from ru) Date: Sun, 4 May 2003 10:26:14 +0300 From: Ruslan Ermilov To: Warner Losh Message-ID: <20030504072614.GA71034@sunbay.com> References: <200305040414.h444EB9a015741@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="T4sUOijqQbZv57TR" Content-Disposition: inline In-Reply-To: <200305040414.h444EB9a015741@repoman.freebsd.org> User-Agent: Mutt/1.5.4i cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src Makefile.inc1 X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 May 2003 07:26:31 -0000 --T4sUOijqQbZv57TR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, May 03, 2003 at 09:14:11PM -0700, Warner Losh wrote: > imp 2003/05/03 21:14:11 PDT >=20 > FreeBSD src repository >=20 > Modified files: > . Makefile.inc1=20 > Log: > Many developers run with userland !=3D to kernel. While this isn't > supported, it usually works for months at a time. Allow these people > to override the OSRELDATE of their installed world when things don't > match and the exact OSRELDATE matters and is different than the > kernel. Now that Makefile.inc1 depends more and more about which date > you have to optimize the pieces it builds, it may be necessary to > pessimize things if its guesses are wrong. > =20 > If OSRELDATE is already set, we won't fork the sysctl to find out what > the kernel's date is. > =20 > Developers on IRC suggested that they run mismatches all the time as > well. > =20 > Reviewed by: obrien > =20 Since we're interested mostly in userland date, a fix to the problem is to change OSRELDATE in Makefile.inc1 to the one from . Something like this might work: awk '$1 =3D=3D "#define" && $2 =3D=3D "__FreeBSD_version" { print $3 }' /us= r/include/osreldate.h Didn't have time to make it work under "!=3D" control in Makefile.inc1. Cheers, --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age --T4sUOijqQbZv57TR Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+tMCWUkv4P6juNwoRAknJAJ9kBPbyMFHDsRvICOBSuWT+fq2dEwCeJoD0 pwT8KtDdvdpzGJToT2m5cBY= =rnIu -----END PGP SIGNATURE----- --T4sUOijqQbZv57TR--