Date: Mon, 12 Jun 2006 11:22:17 +0200 From: Alexander Leidinger <Alexander@Leidinger.net> To: Mikhail Teterin <mi+kde@aldan.algebra.com> Cc: ports@freebsd.org, Mark Linimon <linimon@lonesome.com> Subject: Re: NOT installing the .la files Message-ID: <20060612112217.tj1n52mv44wwogw4@netchild.homeip.net> In-Reply-To: <200606112151.36690@aldan> References: <200606112110.39148@aldan> <20060612012124.GA22951@soaustin.net> <200606112151.36690@aldan>
next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Mikhail Teterin <mi+kde@aldan.algebra.com> (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 <lib>.la instead of =20 <lib>.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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060612112217.tj1n52mv44wwogw4>