From owner-freebsd-ports@FreeBSD.ORG Sat Mar 10 01:56:55 2007 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0438B16A403; Sat, 10 Mar 2007 01:56:55 +0000 (UTC) (envelope-from ade@lovett.com) Received: from mail.lovett.com (foo.lovett.com [67.134.38.158]) by mx1.freebsd.org (Postfix) with ESMTP id D2EB513C494; Sat, 10 Mar 2007 01:56:54 +0000 (UTC) (envelope-from ade@lovett.com) Received: from hellfire.canal.lovett.com ([172.16.32.20]:52329) by mail.lovett.com with esmtpa (Exim 4.66 (FreeBSD)) (envelope-from ) id 1HPqpU-000Efu-GK; Fri, 09 Mar 2007 17:57:04 -0800 In-Reply-To: <20070310023034.c5939c48.jylefort@FreeBSD.org> References: <45F1DDE2.5030404@FreeBSD.org> <45F1EA6A.6070904@FreeBSD.org> <20070310023034.c5939c48.jylefort@FreeBSD.org> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <7CF1749C-3254-46AC-ABDD-BAB0D84ED7A1@FreeBSD.org> Content-Transfer-Encoding: 7bit From: Ade Lovett Date: Fri, 9 Mar 2007 17:56:52 -0800 To: Jean-Yves Lefort X-Pgp-Agent: GPGMail 1.1.2 (Tiger) X-Mailer: Apple Mail (2.752.2) Sender: ade@lovett.com Cc: Doug Barton , freebsd ports , Ade Lovett , Kent Stewart Subject: Re: Ports 104877 causing big problems 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: Sat, 10 Mar 2007 01:56:55 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mar 09, 2007, at 17:30 , Jean-Yves Lefort wrote: > On Fri, 9 Mar 2007 17:05:31 -0800 > Ade Lovett wrote: >> 3. Ports that *are* affected by this issue (assuming the issue still >> exists) can be fixed in a more relaxed manner (eg: a conversion of >> GNU_CONFIGURE=YES to USE_AUTOTOOLS=configurehack [implying >> GNU_CONFIGURE=YES]) than a time-T switch. It will also allow for >> such affected ports to have PORTREVISIONs bumped by the respective >> maintainers so as to more clearly identify improved operation to the >> consumers of those ports. > > All ports that use libtool to produce a program or shared library are > affected by this issue. This in turn implies that in case that there is an issue, and something needs to be done about it, then silently changing the semantics of GNU_CONFIGURE is not an appropriate solution. In order for the change, should it be required, to be communicated to all the consumers of the FreeBSD ports tree, and not that subset that happens to read esoteric discussions on a high volume mailing list, this requires that we use the tools available to us, ie: bumping PORTREVISION. 1. Identify if there is still a problem. 2a. If not, get on with something more productive. 2b. If yes, add a new stanza to USE_AUTOTOOLS, for simplicities sake we'll call it lthack, which defines GNU_CONFIGURE, and also wanders through the configuration files performing the appropriate hackery. 3. Maintainers that have ports affected by the issue go in to the Makefile, chunk GNU_CONFIGURE, add USE_AUTOTOOLS= lthack, bump PORTREVISION, and move on to the next one. The semantics of GNU_CONFIGURE itself don't change, so no chance of unintended infra-structural breakdown, full-tree operations are not adversely impacted by needlessly including additional Mk/bsd.*.mk files, and the update is limited to those consumers of the new USE_AUTOTOOLS stanza, without touching bsd.port.mk, thus not requiring a full -exp run. A rather more elegant solution than sledgehammer blows which, whilst occasionally needed, soak up huge amounts of resource, and are to be avoided if at all possible. - -aDe -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) iD8DBQFF8hBlpXS8U0IvffwRAnosAKCQDwIx0ogGLiPi62ZxEsPSHE/6dwCfbdFk XcigDxQoehlavUuScsrabrk= =Im2J -----END PGP SIGNATURE-----