From owner-freebsd-ports@FreeBSD.ORG Mon Jun 12 09:22:37 2006 Return-Path: X-Original-To: ports@freebsd.org 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 7E26916A418 for ; Mon, 12 Jun 2006 09:22:37 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0787B43D4C for ; Mon, 12 Jun 2006 09:22:35 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5E279.dip.t-dialin.net [84.165.226.121]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.4/8.13.4) with ESMTP id k5C9IxsG063820; Mon, 12 Jun 2006 11:18:59 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from localhost (localhost [127.0.0.1]) by Andro-Beta.Leidinger.net (8.13.4/8.13.3) with ESMTP id k5C9MILr012680; Mon, 12 Jun 2006 11:22:18 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Mon, 12 Jun 2006 11:22:17 +0200 Message-ID: <20060612112217.tj1n52mv44wwogw4@netchild.homeip.net> X-Priority: 3 (Normal) Date: Mon, 12 Jun 2006 11:22:17 +0200 From: Alexander Leidinger To: Mikhail Teterin References: <200606112110.39148@aldan> <20060612012124.GA22951@soaustin.net> <200606112151.36690@aldan> In-Reply-To: <200606112151.36690@aldan> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1) / FreeBSD-4.11 X-Virus-Scanned: by amavisd-new Cc: ports@freebsd.org, Mark Linimon Subject: Re: NOT installing the .la files 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: Mon, 12 Jun 2006 09:22:37 -0000 Quoting Mikhail Teterin (from Sun, 11 Jun =20 2006 21:51:36 -0400): > On Sunday 11 June 2006 21:21, Mark Linimon wrote: > =3D Unavoidable, for KDE; and thus, not worth spending all the time modify= ing > =3D ports to either install them or not. This makes maintainance a lot ea= sier. > > Well, they are all installed by the same ${LOCALBASE}/bin/libtool > > =09/bin/sh /opt/bin/libtool --mode=3Dinstall /usr/bin/install -c \ > =09=09libmimetic.la /opt/lib/libmimetic.la > > The script is installed by its port, which could patch it to ignore the .l= a > files altogether -- keeping the maintaince of the rest of the ports just a= s > simple and the filesystem slightly cleaner > > There are 321 .la files on my system, for example. Do I need this junk? If you use KDE: yes (maybe not all, but some of them). I don't know why, but my first guess is they load .la instead of =20 .so in case they use dlopen() or the corresponding function of =20 libltdl. Strictly speaking the .la files are not needed on a lot of common =20 platforms. But on some system they may be needed. At the time we did =20 not install the .la files, I whould support you in the removal of =20 those files, but since the current policy is to use the vendor =20 supplied functionality I suggest to not remove the .la files. You could try to convince the vendor that they are not needed on =20 current platforms. A litte bit of backward compatibility has to be =20 added then, e.g. if libltdl gets asked to load a .la it should look =20 for .so instead on those platforms. Bye, Alexander. --=20 Selling GoodYear Eagle F1 235/40ZR18, 2x 4mm + 2x 5mm, ~150 EUR you have to pick it up between Germany/Saarland and Luxembourg/Capellen http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137