From 0041936315dcc19259d943cf5713a2329d4e6f23 Mon Sep 17 00:00:00 2001 From: grant Date: Tue, 3 Feb 2004 09:03:57 +0000 Subject: [PATCH] add USE_GNU_TOOLS+=lex yacc, as this package requires flex and yacc to build. --- devel/oaf/Makefile | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/devel/oaf/Makefile b/devel/oaf/Makefile index 278bf87338ea..5819b8ea5b3a 100644 --- a/devel/oaf/Makefile +++ b/devel/oaf/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.32 2004/01/03 18:49:39 reed Exp $ +# $NetBSD: Makefile,v 1.33 2004/02/03 09:03:57 grant Exp $ # DISTNAME= oaf-0.6.10 @@ -16,23 +16,12 @@ USE_PKGLOCALEDIR= YES GNU_CONFIGURE= YES USE_X11BASE= YES +USE_GNU_TOOLS+= lex yacc USE_LIBTOOL= YES LIBTOOL_OVERRIDE= ${WRKSRC}/libtool CONFIGURE_ARGS+= --enable-gtk-doc=no -.include "../../mk/bsd.prefs.mk" - -.if ${OPSYS} == SunOS || !exists(/usr/bin/flex) -BUILD_DEPENDS+= flex-[0-9]*:../../devel/flex -LEX= ${LOCALBASE}/bin/flex -.endif - -.if !exists(/usr/bin/yacc) -BUILD_DEPENDS+= bison-[0-9]*:../../devel/bison -YACC= ${LOCALBASE}/bin/bison -.endif - .include "../../devel/popt/buildlink2.mk" .include "../../textproc/libxml/buildlink2.mk" .include "../../x11/gnome-libs/buildlink2.mk"