From owner-freebsd-ports@FreeBSD.ORG Sun Mar 26 08:00:55 2006 Return-Path: X-Original-To: ports@FreeBSD.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 80AF216A562; Sun, 26 Mar 2006 08:00:54 +0000 (UTC) (envelope-from nork@FreeBSD.org) Received: from sakura.ninth-nine.com (sakura.ninth-nine.com [219.127.74.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6921B43D55; Sun, 26 Mar 2006 08:00:16 +0000 (GMT) (envelope-from nork@FreeBSD.org) Received: from melfina.ninth-nine.com (melfina.ninth-nine.com [192.168.36.6]) (authenticated bits=0) by sakura.ninth-nine.com (8.13.4/8.13.4/NinthNine) with ESMTP id k2Q80FNC052519 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 26 Mar 2006 17:00:15 +0900 (JST) (envelope-from nork@FreeBSD.org) Date: Sun, 26 Mar 2006 17:00:15 +0900 From: Norikatsu Shigemura To: ade@FreeBSD.org Message-Id: <20060326170015.9e7d1855.nork@FreeBSD.org> X-Mailer: Sylpheed version 2.2.3 (GTK+ 2.8.16; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (sakura.ninth-nine.com [219.127.74.121]); Sun, 26 Mar 2006 17:00:15 +0900 (JST) Cc: ports@FreeBSD.org Subject: devel/bison2's yacc problem X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Mar 2006 08:00:55 -0000 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