From owner-freebsd-ports Wed Mar 5 6:36:43 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 8DA2537B401 for ; Wed, 5 Mar 2003 06:36:41 -0800 (PST) Received: from mailout04.sul.t-online.com (mailout04.sul.t-online.com [194.25.134.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 01E3643FE0 for ; Wed, 5 Mar 2003 06:36:40 -0800 (PST) (envelope-from Alexander@Leidinger.net) Received: from fwd07.sul.t-online.de by mailout04.sul.t-online.com with smtp id 18qZzi-0005Gw-05; Wed, 05 Mar 2003 15:35:42 +0100 Received: from Andro-Beta.Leidinger.net (520065502893-0001@[217.83.21.175]) by fmrl07.sul.t-online.com with esmtp id 18qZzV-2JcTiaC; Wed, 5 Mar 2003 15:35:29 +0100 Received: from Magelan.Leidinger.net (Magelan [192.168.1.1]) by Andro-Beta.Leidinger.net (8.12.6/8.12.6) with ESMTP id h25EZO8Z014782; Wed, 5 Mar 2003 15:35:24 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from Magelan.Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.12.7/8.12.7) with SMTP id h25EZN1X004448; Wed, 5 Mar 2003 15:35:23 +0100 (CET) (envelope-from Alexander@Leidinger.net) Date: Wed, 5 Mar 2003 15:35:23 +0100 From: Alexander Leidinger To: "Bjoern A. Zeeb" Cc: marcus@marcuscom.com, michaelnottebrock@gmx.net, kris@obsecurity.org, ports@FreeBSD.ORG Subject: Re: howto stop port from installing .la files ? Message-Id: <20030305153523.7ce0ab1b.Alexander@Leidinger.net> In-Reply-To: References: <20030227223051.GA91669@rot13.obsecurity.org> <200303011713.19351.michaelnottebrock@gmx.net> <1046535678.310.5.camel@gyros> X-Mailer: Sylpheed version 0.8.9claws (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Sender: 520065502893-0001@t-dialin.net 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 Sat, 1 Mar 2003 16:59:34 +0000 (UTC) "Bjoern A. Zeeb" wrote: > Reading about libtool is not the problem. Reading about WHY Kris said > it is useless on FreeBSD (be it true or not) was what I thought about. AFAIK: there's no "one true way"(TM) to open a shared lib on every OS, libltdl tries to provide a pseudo-standard for this. There also seem to be inconsistencies in some implementations of dlopen() itself, so not every useful feature is available everywhere. lt_dlopen() seems to provide some of those features on platforms where they aren't available. For some of those features the data in the .la files are needed. AFAIK our dlopen() is one of the good ones, so we don't need the .la files. Unfortunately lt_dlopen() refuses to open a lib if there's no .la file. So far the only reason why we need the .la file is because there's a bug somewhere... > Kris: can you please explain your first statement ? This for me makes > sense as portlint compains about \.la files in pkg-plist and advises > one to use USE_LIBTOOL which will then set > LIBTOOLFLAGS?= --disable-ltlibs > in Mk/bsd.port.mk which normally would prevent \.la files from being > installed if I got everything right. This functionality doesn't exists anymore since a long time (at least one year). Bye, Alexander. -- "One world, one web, one program" -- Microsoft promotional ad "Ein Volk, ein Reich, ein Fuehrer" -- Adolf Hitler http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message