diff options
author | wiz <wiz> | 2003-08-23 22:55:34 +0000 |
---|---|---|
committer | wiz <wiz> | 2003-08-23 22:55:34 +0000 |
commit | 3e3f30d20b7271d84cb93cbfb6342c9a99ad7ba1 (patch) | |
tree | dfd4ea577cf8d3d025de4f8266338ac22bf2533c /devel/flex | |
parent | 20cd7a0c3625977aa8318effa7c6a400befbd66b (diff) | |
download | pkgsrc-3e3f30d20b7271d84cb93cbfb6342c9a99ad7ba1.tar.gz |
Add dependency on bison if there is no yacc; addresses PR 20772.
Add HOMEPAGE and remove ONLY_FOR_PLATFORMS (from the same PR).
Diffstat (limited to 'devel/flex')
-rw-r--r-- | devel/flex/Makefile | 11 |
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" |