summaryrefslogtreecommitdiff
path: root/devel/flex/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/flex/Makefile')
-rw-r--r--devel/flex/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/devel/flex/Makefile b/devel/flex/Makefile
index 1e47f84dc53..d95b017a8c2 100644
--- a/devel/flex/Makefile
+++ b/devel/flex/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2003/07/21 16:43:21 martti Exp $
+# $NetBSD: Makefile,v 1.11 2003/08/23 22:55:34 wiz Exp $
DISTNAME= flex-2.5.4a
WRKSRC= ${WRKDIR}/flex-2.5.4
@@ -6,11 +6,14 @@ CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_GNU:=non-gnu/flex/}
MAINTAINER= tech-pkg@NetBSD.org
+HOMEPAGE= http://www.gnu.org/software/flex/
COMMENT= Fast clone of lex(1), the lexical scanner generator
-ONLY_FOR_PLATFORM= SunOS-*-* # in NetBSD base system
-ONLY_FOR_PLATFORM+= Linux-*-*
-
GNU_CONFIGURE= YES
+.if !exists(/usr/bin/yacc)
+BUILD_DEPENDS+= bison-[0-9]*:../../devel/bison
+YACC= ${PREFIX}/bin/bison -y
+.endif
+
.include "../../mk/bsd.pkg.mk"