Subject: Re: BUILD_USES_LEX and BUILD_USES_YACC
To: Jeremy C. Reed <reed@reedmedia.net>
From: Thomas Klausner <wiz@NetBSD.org>
List: tech-pkg
Date: 09/30/2003 19:53:23
On Tue, Sep 30, 2003 at 10:41:47AM -0700, Jeremy C. Reed wrote:
> Maybe we can have BUILD_USES_LEX and BUILD_USES_YACC settings too.

Shouldn't this rather be added to tools.mk?

> It has also been suggested to have a pkgsrc/devel/flex/buildlink2.mk, but
> I am not sure how that would work for a BUILD_DEPENDS only. Any examples?

You can set
BUILDLINK_DEPMETHOD.flex=	build
if the PKGNAME (and BUILDLINK_PACKAGES+= -value) is flex.

 Thomas