Subject: Re: CVS commit: pkgsrc/devel/zlib
To: Johnny C. Lam <>
From: grant beattie <>
List: tech-pkg
Date: 01/26/2004 03:06:39
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.
> 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. 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...


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

Version: GnuPG v1.2.4 (NetBSD)