Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Jul 2007 02:50:29 +0200
From:      Pav Lucistnik <pav@FreeBSD.org>
To:        Stephen Montgomery-Smith <stephen@math.missouri.edu>
Cc:        ports@FreeBSD.org
Subject:   Re: Speedup for pkg_version
Message-ID:  <1185670229.57605.68.camel@ikaros.oook.cz>
In-Reply-To: <46ABE2FA.8030607@math.missouri.edu>
References:  <46ABE2FA.8030607@math.missouri.edu>

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

--=-Uve/MBVlPX8bOb3fgMnW
Content-Type: text/plain; charset=ISO-8859-2
Content-Transfer-Encoding: quoted-printable

Stephen Montgomery-Smith p=ED=B9e v so 28. 07. 2007 v 19:44 -0500:

> This is a kludge, but it makes pkg_version 4 times faster on my set up.=20
>   The idea is that "make -V PKGNAME" should ordinarily be a very fast=20
> operation.  So it runs a very cut down version of bsd.port.mk.  If that=20
> bombs with an error, then it does the full bsd.port.mk.
>=20
> Maybe portsmanager and similar tools could use this idea.

What does this to with ports that have something like

PORTVERSION=3D	${MAJOR_VER}.${MINOR_VER}

MAJOR_VER=3D	2
MINOR_VER=3D	15


And what about slave ports that inherit PORTVERSION from their master?

--=20
Pav Lucistnik <pav@oook.cz>
              <pav@FreeBSD.org>

Why does the Earth have colors?

--=-Uve/MBVlPX8bOb3fgMnW
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: Toto je =?UTF-8?Q?digit=C3=A1ln=C4=9B?=
	=?ISO-8859-1?Q?_podepsan=E1?= =?UTF-8?Q?_=C4=8D=C3=A1st?=
	=?ISO-8859-1?Q?_zpr=E1vy?=

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

iD8DBQBGq+RVntdYP8FOsoIRAhX+AJ975QF+M6KWO9bVt8fDpcenwe82dwCgzY2t
xw/3359HdglWknP0WL+27yM=
=CDZE
-----END PGP SIGNATURE-----

--=-Uve/MBVlPX8bOb3fgMnW--




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