Subject: Re: ruby18: db4 is not an acceptable, can't read y.tab.c
To: Takahiro Kambe <taca@back-street.net>
From: Johnny C. Lam <jlam@pkgsrc.org>
List: tech-pkg
Date: 12/22/2005 19:32:30
On Sun, Dec 18, 2005 at 06:00:03PM +0900, Takahiro Kambe wrote:
> In message <20051212161259.GA5685@britannica.bec.de>
> 	on Mon, 12 Dec 2005 17:12:59 +0100,
> 	joerg@britannica.bec.de wrote:
> > What about patching the Makefile to correctly use TOOLS_ARGS.yacc
> > instead?
> I've never see TOOLS_ARGS.* except files under /usr/pkgsrc/mk.
> Is there any guideline or documentation for using them?
> 
> Anyway, these patch files and update patch-aa and patch-ab solve the
> problem.

I've committed revision 1.145 of pkgsrc/mk/tools/replace.mk which
should fix the YACC problem.  It should set YACC="bison -y" in the
environment before calling the configure script.  You should be able
to remove those changes from your patch.

	Cheers,

	-- Johnny Lam <jlam@pkgsrc.org>