From owner-freebsd-ports Thu Feb 27 15:11: 7 2003 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 69FEA37B401 for ; Thu, 27 Feb 2003 15:11:06 -0800 (PST) Received: from procyon.firepipe.net (procyon.firepipe.net [198.78.66.151]) by mx1.FreeBSD.org (Postfix) with ESMTP id AFBC643FD7 for ; Thu, 27 Feb 2003 15:11:05 -0800 (PST) (envelope-from will@csociety.org) Received: by procyon.firepipe.net (Postfix, from userid 1000) id D97C621D2B; Thu, 27 Feb 2003 15:11:04 -0800 (PST) Date: Thu, 27 Feb 2003 15:11:04 -0800 From: Will Andrews To: Kris Kennaway Cc: "Bjoern A. Zeeb" , ports@FreeBSD.org Subject: Re: howto stop port from installing .la files ? Message-ID: <20030227231104.GW37397@procyon.firepipe.net> Mail-Followup-To: Kris Kennaway , "Bjoern A. Zeeb" , ports@FreeBSD.org References: <20030227214652.GV37397@procyon.firepipe.net> <20030227223051.GA91669@rot13.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030227223051.GA91669@rot13.obsecurity.org> User-Agent: Mutt/1.4i Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, Feb 27, 2003 at 02:30:51PM -0800, Kris Kennaway wrote: > On Thu, Feb 27, 2003 at 01:46:52PM -0800, Will Andrews wrote: > > On Thu, Feb 27, 2003 at 09:33:03PM +0000, Bjoern A. Zeeb wrote: > > > is there a proof way to stop a port from installing .la files ? > > > > Why would you want to do that? Maybe there is something that > > depends on your port and uses lt_dlopen() to load one of its libs? > > It's a policy that we shouldn't install .la files, because as far as > anyone knows they are useless on FreeBSD. Not true. They are definitely useful for apps that prefer to let libtool handle library loading for all the OS's they support. I.e. what the message you are replying to says. I used to believe they were useless but then actually figured out what uses them and changed my mind. A few bytes on the disk saves a huge amount of code for things that use plugins and allows the app to support many OS's with ONE library call. And it actually gives libtool a purpose for its existence... I don't think the effort expended to remove them from ports is a very good thing. [will@fremont ~]% find /usr/local/lib -name "*.la"|wc -l 587 [will@fremont ~]% find /usr/local/lib -name "*.la"|xargs du -hc | grep total\$ 1.1M total A minuscule fraction of the 4.8G allocated to /usr on that computer. Regards, -- wca To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message