Subject: pkg/29897: math/gcalctool fail to build
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <yui@yui.pe.kr>
List: pkgsrc-bugs
Date: 04/06/2005 03:42:00
>Number:         29897
>Category:       pkg
>Synopsis:       math/gcalctool fail to build
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 06 03:42:00 +0000 2005
>Originator:     Kibum Han
>Release:        NetBSD 3.99.2
>Organization:
n/a
>Environment:
NetBSD caspar.wowdns.com 3.99.2 NetBSD 3.99.2 (YUIKERNEL) #1: Tue Mar 29 12:38:46 KST 2005  root@caspar.wowdns.com:/usr/obj/sys/arch/amd64/compile/YUIKERNEL amd64
>Description:
math/gcalctool fail to build, due to lack of bison.
The error message is :

bison -d -p ce -d ce_parser.y
gmake[2]: bison: Command not found
gmake[2]: *** [ce_parser.tab.c] Error 127
gmake[2]: Leaving directory `/home/yui/pkgsrc/pkgsrc/math/gcalctool/work/gcalctool-5.5.41/gcalctool'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/yui/pkgsrc/pkgsrc/math/gcalctool/work/gcalctool-5.5.41'
gmake: *** [all] Error 2
*** Error code 2


>How-To-Repeat:
cd math/gcalctool
make

>Fix:
diff -u -r1.33 Makefile
--- Makefile    22 Mar 2005 16:30:14 -0000      1.33
+++ Makefile    6 Apr 2005 03:41:17 -0000
@@ -10,6 +10,8 @@
 HOMEPAGE=              http://calctool.sourceforge.net/
 COMMENT=               Desktop calculator for GNOME

+BUILD_DEPENDS+=                bison-[0-9]*:../../devel/bison
+
 BUILD_USES_MSGFMT=     YES

 GNU_CONFIGURE=         YES