add USE_GNU_TOOLS+=lex yacc, as this package requires flex and yacc

to build.
This commit is contained in:
grant 2004-02-03 09:03:57 +00:00
parent 8ef87f3513
commit 0041936315

View file

@ -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"