replace /usr/bin/yacc test with USE_GNU_TOOLS+=yacc to provide a

working yacc(1).
This commit is contained in:
grant 2004-02-24 15:17:54 +00:00
parent 1127f8b408
commit caa97276a6

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.13 2004/01/20 12:13:28 agc Exp $
# $NetBSD: Makefile,v 1.14 2004/02/24 15:17:54 grant Exp $
DISTNAME= flex-2.5.4a
CATEGORIES= lang
@ -10,12 +10,8 @@ COMMENT= Fast clone of lex(1), the lexical scanner generator
WRKSRC= ${WRKDIR}/flex-2.5.4
GNU_CONFIGURE= YES
USE_GNU_TOOLS+= yacc
TEST_TARGET= check
.if !exists(/usr/bin/yacc)
BUILD_DEPENDS+= bison-[0-9]*:../../devel/bison
YACC= ${PREFIX}/bin/bison -y
.endif
.include "../../mk/bsd.pkg.mk"