From owner-freebsd-ports@FreeBSD.ORG Thu Jun 5 14:39:23 2014 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8185CE71 for ; Thu, 5 Jun 2014 14:39:23 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 65F1F24B3 for ; Thu, 5 Jun 2014 14:39:23 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s55EdNpR066958 for ; Thu, 5 Jun 2014 14:39:23 GMT (envelope-from bdrewery@freefall.freebsd.org) Received: (from bdrewery@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s55EdNoj066957 for freebsd-ports@FreeBSD.org; Thu, 5 Jun 2014 14:39:23 GMT (envelope-from bdrewery) Received: (qmail 83078 invoked from network); 5 Jun 2014 09:39:19 -0500 Received: from unknown (HELO blah) (freebsd@shatow.net@67.182.131.225) by sweb.xzibition.com with ESMTPA; 5 Jun 2014 09:39:19 -0500 Message-ID: <53908119.5040505@FreeBSD.org> Date: Thu, 05 Jun 2014 09:39:21 -0500 From: Bryan Drewery Organization: FreeBSD User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Tijl Coosemans , Alexander Leidinger Subject: Re: To all port maintainers: libtool References: <20140508002420.5d37e7f6@kalimero.tijl.coosemans.org> <20140508212756.00000df3@Leidinger.net> <20140509001641.63310821@kalimero.tijl.coosemans.org> In-Reply-To: <20140509001641.63310821@kalimero.tijl.coosemans.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ports@FreeBSD.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jun 2014 14:39:23 -0000 On 5/8/14, 5:16 PM, Tijl Coosemans wrote: > On Thu, 8 May 2014 21:27:56 +0200 Alexander Leidinger wrote: >> On Thu, 8 May 2014 00:24:20 +0200 >> Tijl Coosemans wrote: >>> USES=libtool modifiers :keepla and :oldver. >> >> You wasn't explicit, which may be beneficial for people which don't >> have English as their first language... >> >> Is it right that you tell everyone to replace "USE_AUTOTOOLS=YES" with >> "USES=libtool:keepla:oldver" now? > > No, it is either USES=libtool, USES=libtool:keepla or USES=libtool:oldver. > Most ports will eventually use the first form but for the time being many > may have to use :keepla or :oldver. > > To know which one to use you can follow these steps: > > If a port does not install any libraries always use USES=libtool. If it > does, try USES=libtool:keepla. If this causes the major version number > of a library to change, use USES=libtool:oldver. > > You can upgrade USES=libtool:oldver to USES=libtool:keepla if > 1) an update to a new version of the port would have changed the > library version anyway, or > 2) you grep /usr/ports/INDEX-* for your port and find that only a > dozen or so other ports depend on it so bumping PORTREVISION on > them isn't that bad. > > You can upgrade USES=libtool:keepla to USES=libtool if you grep > /usr/ports/INDEX-* for your port and verify that all of the ports > that install .la files also have some form of USES=libtool in their > Makefile. Unless the number of dependent ports is small I don't > really recommend this. There's no harm in keeping .la files. > >> And for ports with a large dependency chain behind you more or less >> suggest to keep the modifiers until the ports tree is converted (let's >> assume a port which is needed by all desktop environments, then we are >> roughly speaking at about 3k ports or more which depend upon it, which >> is close enough to "the ports tree" for this discussion ;-) )? > > Yes. At some point ports with :oldver will be converted to :keepla. > Depending on how many ports these are, this will probably happen in > batches of related ports and may need to be coordinated by portmgr. > I don't expect this to be something that individual port maintainers > will have to worry about. > > And at another point the dependency records of all .la files will be > empty in all ports (currently about 1400 ports left). From then on > it will be safe to replace USES=libtool:keepla with USES=libtool. > I don't know what .la files are used for and have no time currently to research it. What is the impact to non-ports consumers of removing .la files? Do they also need patches to make them build? And if there is no impact, I am thoroughly confused on when to keep or not keep them. -- Regards, Bryan Drewery