From owner-freebsd-ports@FreeBSD.ORG Thu Jun 24 19:09:12 2004 Return-Path: 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 CDD0A16A4DD; Thu, 24 Jun 2004 19:09:12 +0000 (GMT) Received: from newtrinity.zeist.de (newtrinity.zeist.de [217.24.217.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1CFCF43D5E; Thu, 24 Jun 2004 19:09:12 +0000 (GMT) (envelope-from marius@newtrinity.zeist.de) Received: from newtrinity.zeist.de (localhost [127.0.0.1]) i5OJ8e1a010343; Thu, 24 Jun 2004 21:08:45 +0200 (CEST) (envelope-from marius@newtrinity.zeist.de) Received: (from marius@localhost) by newtrinity.zeist.de (8.12.10/8.12.10/Submit) id i5OJ8Zw5010342; Thu, 24 Jun 2004 21:08:35 +0200 (CEST) (envelope-from marius) Date: Thu, 24 Jun 2004 21:08:35 +0200 From: Marius Strobl To: Mario Sergio Fujikawa Ferreira Message-ID: <20040624210835.A9582@newtrinity.zeist.de> References: <20040624142332.89957.qmail@exxodus.fedaykin.here> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20040624142332.89957.qmail@exxodus.fedaykin.here>; from lioux@freebsd.org on Thu, Jun 24, 2004 at 11:23:32AM -0300 X-AntiVirus: checked by AntiVir Milter 1.1-beta; AVE 6.26.0.3; VDF 6.26.0.6 (host: newtrinity.zeist.de) cc: freebsd-ports@freebsd.org Subject: Re: RFC: updating devel/libgnugetopt X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2004 19:09:13 -0000 On Thu, Jun 24, 2004 at 11:23:32AM -0300, Mario Sergio Fujikawa Ferreira wrote: > Hi, > > I did a simple update of the libgnugetopt > using the latest gcc contrib code from the -STABLE branch. > > I haven't thoroughly tested it so I am not > daring a commit just yet. > > I would like to request comments on this update. > Perhaps, this fixes several issues we have been having with > libgnugetopt. > These aren't really the latest versions of these files and it looks like this version of getopt.h won't fix the problems with g++ 3.x. You can grab the latest versions easily from the GCC cvsweb at: http://savannah.gnu.org/cgi-bin/viewcvs/gcc/gcc/libiberty/ and http://savannah.gnu.org/cgi-bin/viewcvs/gcc/gcc/include/ Btw., since __FreeBSD_version 502104 the libgnugetopt port is no longer required (as getopt_long_only() was added to the FreeBSD libc, too). So bsd.port.mk should grow an USE_GETOPT_LONG_ONLY (similar to the existing USE_GETOPT_LONG) and devel/libgnugetopt marked IGNORE accordingly afterwards (this involves fixing the handful of ports that directly depend on devel/libgnugetopt).