pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/flex Add dependency on bison if there is no yacc...
details: https://anonhg.NetBSD.org/pkgsrc/rev/20150b1ee2a0
branches: trunk
changeset: 460186:20150b1ee2a0
user: wiz <wiz%pkgsrc.org@localhost>
date: Sat Aug 23 22:55:34 2003 +0000
description:
Add dependency on bison if there is no yacc; addresses PR 20772.
Add HOMEPAGE and remove ONLY_FOR_PLATFORMS (from the same PR).
diffstat:
devel/flex/Makefile | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diffs (27 lines):
diff -r 5accd27601bb -r 20150b1ee2a0 devel/flex/Makefile
--- a/devel/flex/Makefile Sat Aug 23 22:52:30 2003 +0000
+++ b/devel/flex/Makefile Sat Aug 23 22:55:34 2003 +0000
@@ -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 @@
MASTER_SITES= ${MASTER_SITE_GNU:=non-gnu/flex/}
MAINTAINER= tech-pkg%NetBSD.org@localhost
+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"
Home |
Main Index |
Thread Index |
Old Index