Subject: Re: CVS commit: pkgsrc/devel/zlib
To: Johnny C. Lam <jlam@NetBSD.org>
From: grant beattie <grant@NetBSD.org>
List: tech-pkg
Date: 01/26/2004 03:06:39
--hnsKUeImFCk/igEn
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Sun, Jan 25, 2004 at 12:47:48PM +0000, Johnny C. Lam wrote:
> > fixes a problem where a buildlink dependency would be added on both
> > zlib>=3D1.1.4nb1 and zlib>=3D1.2.1, resulting in various buildlink
> > breakage.
>=20
> I don't understand what the problem here is. Could you show me an
> example? pkgsrc always chooses the best available package for a
> dependency, so "zlib>=3D1.1.4nb1, zlib>=3D1.2.1" should just match the
> same zlib package.
bsd.buildlink3.mk calls:
${PKG_ADMIN} -s "" lsbest "${BUILDLINK_DEPENDS.${_pkg_}}"
but pkg_admin lsbest can only handle one word. this causes a warning
from pkg_admin:
pkg_admin: ` ' not recognised
pkg_admin: `>' not recognised
pkg_admin: `=3D' not recognised
in 'make extract', zlib is listed twice:
=3D=3D=3D> Required installed package zlib>=3D1.1.4nb1: zlib-1.2.1 found
=3D=3D=3D> Required installed package zlib>=3D1.2.1: zlib-1.2.1 found
it didn't seem to make sense to depend on an old version *and* a
new version...
grant.
--hnsKUeImFCk/igEn
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)
iD8DBQFAE+mPluYOb9yiFXoRAhcCAJ9zZ5YWRoW849HqxiAlTYBlq0knywCfShLJ
X6i8ODBhW0a83hca58mUaqY=
=LXoR
-----END PGP SIGNATURE-----
--hnsKUeImFCk/igEn--