Date: Sun, 26 Mar 2006 17:00:15 +0900 From: Norikatsu Shigemura <nork@FreeBSD.org> To: ade@FreeBSD.org Cc: ports@FreeBSD.org Subject: devel/bison2's yacc problem Message-ID: <20060326170015.9e7d1855.nork@FreeBSD.org>
next in thread | raw e-mail | index | archive | help
Hi Ade. I contacted a build error problem on net/csup. # cd /usr/ports/net/csup # make : cc -O2 -fno-strict-aliasing -pipe -march=pentium-m -march=pentium-m -I. -I/usr/ports/net/csup/work/csup -g -pthread -DHAVE_FFLAGS -DNDEBUG -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -c parse.c parse.c:848: warning: redundant redeclaration of 'yyparse' token.h:33: warning: previous declaration of 'yyparse' was here *** Error code 1 Because yacc is not byacc but bison2:-(. $ which yacc /usr/local/bin/yacc $ pkg_which yacc bison-2.1_1 So I made bison2 not to install yacc and liby.a. How about do you think? Index: Makefile =================================================================== RCS file: /home/ncvs/ports/devel/bison2/Makefile,v retrieving revision 1.57 diff -u -r1.57 Makefile --- Makefile 18 Nov 2005 04:03:37 -0000 1.57 +++ Makefile 26 Mar 2006 07:38:14 -0000 @@ -7,7 +7,7 @@ PORTNAME= bison PORTVERSION= 2.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -31,6 +31,7 @@ MAN1= bison.1 INFO= bison +CONFIGURE_ARGS+= --disable-yacc .if defined(WITHOUT_NLS) CONFIGURE_ARGS+= --disable-nls PLIST_SUB+= NLS="@comment " Index: pkg-plist =================================================================== RCS file: /home/ncvs/ports/devel/bison2/pkg-plist,v retrieving revision 1.22 diff -u -r1.22 pkg-plist --- pkg-plist 22 Jan 2006 22:04:53 -0000 1.22 +++ pkg-plist 26 Mar 2006 07:45:50 -0000 @@ -1,8 +1,6 @@ @comment $FreeBSD: ports/devel/bison2/pkg-plist,v 1.22 2006/01/22 22:04:53 ade Exp $ bin/bison bin/bison2 -bin/yacc -lib/liby.a share/aclocal/bison-i18n.m4 %%DATADIR%%/c.m4 %%DATADIR%%/c++.m4
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060326170015.9e7d1855.nork>