pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/flex replace /usr/bin/yacc test with USE_GNU_TOO...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1da3fdceca47
branches:  trunk
changeset: 469500:1da3fdceca47
user:      grant <grant%pkgsrc.org@localhost>
date:      Tue Feb 24 15:17:54 2004 +0000

description:
replace /usr/bin/yacc test with USE_GNU_TOOLS+=yacc to provide a
working yacc(1).

diffstat:

 devel/flex/Makefile |  8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diffs (23 lines):

diff -r ce91f9aa27f7 -r 1da3fdceca47 devel/flex/Makefile
--- a/devel/flex/Makefile       Tue Feb 24 14:53:54 2004 +0000
+++ b/devel/flex/Makefile       Tue Feb 24 15:17:54 2004 +0000
@@ -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 @@
 
 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"



Home | Main Index | Thread Index | Old Index