Subject: Re: CVS commit: pkgsrc/mk
To: None <jlam@netbsd.org, pkgsrc-changes@NetBSD.org>
From: Marc Recht <recht@netbsd.org>
List: pkgsrc-changes
Date: 01/25/2004 20:20:46
--==========7E02ED178FF6787D535B==========
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

> Log Message:
> pkgsrc requires PKGTOOLS_REQD>=3D20030918, so we don't need to
> conditionalize passing "-S" to pkg_admin.

This breaks DEPENDS=3D<...>.

Is it OK to commit the following fix?

Index: bsd.prefs.mk
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /cvsroot/pkgsrc/mk/bsd.prefs.mk,v
retrieving revision 1.143
diff -u -r1.143 bsd.prefs.mk
--- bsd.prefs.mk        25 Jan 2004 18:42:53 -0000      1.143
+++ bsd.prefs.mk        25 Jan 2004 19:19:53 -0000
@@ -395,7 +395,7 @@
 # "${PKG_INFO} -e pkgpattern" if the latter would return more than one
 # package name.
 #
-PKG_BEST_EXISTS?=3D      ${PKG_ADMIN} -b -d ${_PKG_DBDIR} ${_NULL_SUFFIX}=20
lsbest
+PKG_BEST_EXISTS?=3D      ${PKG_ADMIN} -b -d ${_PKG_DBDIR} -S lsbest

 .ifndef PKGTOOLS_VERSION
 PKGTOOLS_VERSION!=3D     ${PKG_INFO_CMD} -V 2>/dev/null || echo 20010302


--=20
Marc Recht
--==========7E02ED178FF6787D535B==========
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)

iD8DBQFAFBcO7YQCetAaG3MRAqCiAJ0Tot45v2RQWHJEKFDG8NLNXaJB1ACfYiif
DFj6n2CUPrxy/kQliHFiSxs=
=gOqz
-----END PGP SIGNATURE-----

--==========7E02ED178FF6787D535B==========--