Subject: Re: CVS commit: pkgsrc/mk/bulk
To: Thomas Klausner <wiz@NetBSD.org>
From: Jan Schaumann <jschauma@netmeister.org>
List: pkgsrc-changes
Date: 12/09/2006 11:25:08
--yzvKDKJiLNESc64M
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Thomas Klausner <wiz@NetBSD.org> wrote:
> On Thu, Dec 07, 2006 at 09:08:48PM -0800, Jan Schaumann wrote:
> > Could you try the attached patch?
>=20
> Seems to work, but spits lots (about once per package) of
> 	find: (: missing closing ')': Undefined error: 0
> (compared to 1.125 without your patch) which I don't understand
> from looking at the patch.

Ah, I found it.  The problem was the use of WRKDIR_BASE, which is not
defined, so "-name $WRKDIR_BASE \)" would become "-name \)", eating the
closing parenthesis, and thus leading to unbalanced parentheses.  The
correct variable is WRKDIR_BASENAME.

I've tested and committed a fix, please test and let me know if that
solves the problem for you, too.

-Jan

--=20
My other computer also runs NetBSD!
			http://www.netbsd.org

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

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

iD8DBQFFew2UfFtkr68iakwRArHXAJ94hfdOxIBsojy7yi8caym7o48POwCgpadJ
coYgrtDzkccrkg2IiqkODzw=
=p24X
-----END PGP SIGNATURE-----

--yzvKDKJiLNESc64M--