Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jul 2002 11:49:11 +0300
From:      Ruslan Ermilov <ru@FreeBSD.ORG>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        mark@thuvia.demon.co.uk, arch@FreeBSD.ORG
Subject:   Re: [POLL] need a good name for share/mk API versioning
Message-ID:  <20020721084911.GA2361@sunbay.com>
In-Reply-To: <20020720.123456.79140066.imp@bsdimp.com>
References:  <20020720.121407.17240249.imp@bsdimp.com> <200207201833.g6KIX1FC087737@dotar.thuvia.org> <20020720.123456.79140066.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--EVF5PPMfhYS0aIcm
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Jul 20, 2002 at 12:34:56PM -0600, M. Warner Losh wrote:
> In message: <200207201833.g6KIX1FC087737@dotar.thuvia.org>
>             Mark Valentine <mark@thuvia.demon.co.uk> writes:
> : > From: "M. Warner Losh" <imp@bsdimp.com>
> : > Date: Sat 20 Jul, 2002
> : > Subject: Re: [POLL] need a good name for share/mk API versioning
> :=20
> : > Using OSVERSION may be sufficient for the ports.  Using a
> : > __FREEBSD_MK_API_VERSION variable would also be sufficient, as well as
> : > allowing for people that use the bsd.*.mk files externally to the
> : > project to continue to do so and cope with the different APIs.
> :=20
> : Indeed, if we have __FREEBSD_MK_API_VERSION or equivalent, then ports
> : should also use that where appropriate rather than OSVERSION.
>=20
> Yes.  Exactly my point :-)
>=20
Using OSVERSION (kern.osreldate) is the big pessimization in assuming
that the userland (share/mk in particular) is of the same date as the
running kernel.  Using OSVERSION from /usr/include/osreldate.h is the
lesser pessimization and that is what I plan to use as a fine-grained
replacement for BOOTSTRAPPING hacks in /usr/src.


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

--EVF5PPMfhYS0aIcm
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)

iD8DBQE9OnWHUkv4P6juNwoRAvJWAJ0V1B2wk3ZDCYm8D/0zhm4EyruumgCfZefC
4dhL81v0YBC60w6zXhwO8mY=
=bhaD
-----END PGP SIGNATURE-----

--EVF5PPMfhYS0aIcm--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020721084911.GA2361>