Date: Sun, 4 May 2003 10:26:14 +0300 From: Ruslan Ermilov <ru@FreeBSD.org> To: Warner Losh <imp@FreeBSD.org> Cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src Makefile.inc1 Message-ID: <20030504072614.GA71034@sunbay.com> In-Reply-To: <200305040414.h444EB9a015741@repoman.freebsd.org> References: <200305040414.h444EB9a015741@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <osreldate.h>. 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030504072614.GA71034>