Subject: Re: pkgsrc NetBSD 3.0_BETA/x86_64 bulk build results 2005-12-09
To: Roland Illig <rillig@NetBSD.org>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: pkgsrc-bulk
Date: 12/11/2005 23:04:57
--IuhbYIxU28t+Kd57
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Dec 11, 2005 at 10:58:15PM +0100, Roland Illig wrote:
> This one is very weird. ${PKGNAME:S|nb*||} does not do what I would
> expect it do do, which is stripping the nb* part at the end. Can
> anyone explain that, or do I need to let pkglint warn about every use
> of the :S modifier?

not weird at all, :S modifer is for replacing strings, not patterns.
you want to use :C, ${PKGNAME:C|nb.*||}.

regards,

--=20
-- Lubomir Sedlacik <salo@{NetBSD,Xtrmntr,silcnet}.org>   --

--IuhbYIxU28t+Kd57
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFDnKKJiwjDDlS8cmMRAue8AJ9gYfhpnrQApMuHWXvguRIWOTmK7wCcDlxo
FdlL4GbCZqcc0V1PqGQo4DM=
=7HO1
-----END PGP SIGNATURE-----

--IuhbYIxU28t+Kd57--