Subject: Re: PKGREVISION
To: Jeremy C. Reed <reed@reedmedia.net>
From: Quentin Garnier <cube@cubidou.net>
List: tech-pkg
Date: 10/28/2005 20:28:28
--e7WmlSfQJTtHfSol
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Fri, Oct 28, 2005 at 11:12:40AM -0700, Jeremy C. Reed wrote:
> On Fri, 28 Oct 2005, Greg A. Woods wrote:
>=20
> >>>>[...] It is now an error if PKGREVISION appears outside a package
> >>>>Makefile.
>=20
> >That should be a very strong hint to everyone that there's something
> >fundamentally wrong with the idea of forcing all the users of a shared
> >Makefile.common to have their own unique PKGREVISION setting.
> >
> >For example sometimes, maybe even very often, the need to bump the
> >revision is due to a change that's common to (i.e. affects) all those
> >packages which share a Makefile.common and now with this nonsensical
> >rule they _all_ _MUST_ have their PKGREVISION values updated
> >simultaneously, which is more work, more error prone, and all really for
> >no good reason.
>=20
> Are you suggesting that we add another variable for the specific package=
=20
> for a revision?
>=20
> If we have a Makefile.common that defines the source distfile. Then we=20
> have a client package that is updated (using same Makefile.common) such a=
s=20
> installing an extra documentation file, the PKGREVISION bump should be=20
> done just specific for that package.
We could have PKGREVISION line be
PKGREVISION:=3D${PKGREVISION}+++
(for nb3 + whatever was previously defined).
But that's ill in its own way, too :)
--=20
Quentin Garnier - cube@cubidou.net - cube@NetBSD.org
"When I find the controls, I'll go where I like, I'll know where I want
to be, but maybe for now I'll stay right here on a silent sea."
KT Tunstall, Silent Sea, Eye to the Telescope, 2004.
--e7WmlSfQJTtHfSol
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (NetBSD)
iQEVAwUBQ2JtzNgoQloHrPnoAQIiwAf/aMvCzsA51Knlbj6WCREj5tOSQk0bSCjd
4XXBcLtUf2XSslGwBXlpzhhDHeLgybTpFHXj2l9lNs4JZ6lnq96k2QJDS2f97uK+
YixIV+9uREDQQkC7IYh92H75VzK+a8tWK1Inj0GR7o6bRMmGZ3jna+tKn/gwaB1g
OGR6y0MfRIeyJQF5UtiisK0MZ2V5/F8AYGpqwDNn2/uVahJ6rfO+jeEKI08noBHc
7/K6W0RNwK2WxVcEkZQiyq1Hlp5lHHrOidHOhQ1qLOUyTC+wKek74nCyCWiCIxYR
SeVYPklBlrAW09aucsexIRO+0knDM/6TxPwPMaV9FdHB6C9e1cro5g==
=Pq9b
-----END PGP SIGNATURE-----
--e7WmlSfQJTtHfSol--