Subject: pkg/31321: devel/cscope doesn't build with bison (GNU Bison) 2.0
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <lkundrak@elvraba.edu.sk>
List: pkgsrc-bugs
Date: 09/15/2005 09:32:00
>Number: 31321
>Category: pkg
>Synopsis: devel/cscope doesn't build with bison (GNU Bison) 2.0
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Sep 15 09:32:00 +0000 2005
>Originator: Lubomir Kundrak
>Release: NetBSD 3.99.7
>Organization:
>Environment:
$ bison --version
bison (GNU Bison) 2.0
Written by Robert Corbett and Richard Stallman.
System: NetBSD elvraba.edu.sk 3.99.7 NetBSD 3.99.7 (GENERIC) #0: Mon Jul 18 13:24:15 CEST 2005 lkundrak@vole.elyceum:/usr/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
Cscope build tries to use bison, bud fails to build when it uses it.
>How-To-Repeat:
Install bison
Try to build cscope from pkgsrc
>Fix:
# (it's not a fix, rather a quick hack. gnu platforms use only gnu bison if i recall correctly)
Use native yacc
@@ -11,7 +11,7 @@ HOMEPAGE= http://cscope.sourceforge.net/
COMMENT= Interactive C program browser
GNU_CONFIGURE= YES
-USE_TOOLS+= lex
+USE_TOOLS+= lex yacc
CONFIGURE_ARGS+= --with-ncurses=${BUILDLINK_PREFIX.ncurses}
CONFIGURE_ARGS+= --with-flex