From owner-freebsd-ports@FreeBSD.ORG Thu May 8 22:16:51 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5DE49322; Thu, 8 May 2014 22:16:51 +0000 (UTC) Received: from mailrelay007.isp.belgacom.be (mailrelay007.isp.belgacom.be [195.238.6.173]) by mx1.freebsd.org (Postfix) with ESMTP id CAFA4B80; Thu, 8 May 2014 22:16:50 +0000 (UTC) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Al8GADUBbFNR8aV7/2dsb2JhbABZgwawcZYYAYEUF3SCJQEBBAE6HCMFCwsYCSUPKh4GE4g5DAHQYBeOUgeEPwEDmTeSfIM4Ow Received: from 123.165-241-81.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([81.241.165.123]) by relay.skynet.be with ESMTP; 09 May 2014 00:16:42 +0200 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.14.8/8.14.8) with ESMTP id s48MGfQF028627; Fri, 9 May 2014 00:16:41 +0200 (CEST) (envelope-from tijl@FreeBSD.org) Date: Fri, 9 May 2014 00:16:41 +0200 From: Tijl Coosemans To: Alexander Leidinger Subject: Re: To all port maintainers: libtool Message-ID: <20140509001641.63310821@kalimero.tijl.coosemans.org> In-Reply-To: <20140508212756.00000df3@Leidinger.net> References: <20140508002420.5d37e7f6@kalimero.tijl.coosemans.org> <20140508212756.00000df3@Leidinger.net> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII 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, 08 May 2014 22:16:51 -0000 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.