From owner-freebsd-hackers@FreeBSD.ORG Fri May 11 08:33:33 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DC97516A402 for ; Fri, 11 May 2007 08:33:33 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id 9DBB613C45E for ; Fri, 11 May 2007 08:33:33 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 0870B20AA; Fri, 11 May 2007 10:33:30 +0200 (CEST) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: 0.0/3.0 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on tim.des.no Received: from dwp.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id E14CD20A6; Fri, 11 May 2007 10:33:29 +0200 (CEST) Received: by dwp.des.no (Postfix, from userid 1001) id B849A532B; Fri, 11 May 2007 10:33:29 +0200 (CEST) From: des@des.no (Dag-Erling =?utf-8?Q?Sm=C3=B8rgrav?=) To: Kris Kennaway References: <200705102105.27271.blackdragon@highveldmail.co.za> <17987.52037.112351.872442@bhuda.mired.org> <20070511015156.GA77895@xor.obsecurity.org> <86zm4b3h7h.fsf@dwp.des.no> <20070511082657.GA24652@xor.obsecurity.org> Date: Fri, 11 May 2007 10:33:29 +0200 In-Reply-To: <20070511082657.GA24652@xor.obsecurity.org> (Kris Kennaway's message of "Fri\, 11 May 2007 04\:26\:57 -0400") Message-ID: <86sla33gkm.fsf@dwp.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hackers@freebsd.org, Mike Meyer , Ivan Voras Subject: Re: New FreeBSD package system (a.k.a. Daemon Package System (dps)) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 May 2007 08:33:33 -0000 Kris Kennaway writes: > On Fri, May 11, 2007 at 10:19:46AM +0200, Dag-Erling Sm??rgrav wrote: > > Not if you want to use pre-built packages. You made sure of that when > > you decided (against my objections) to include .la files in packages. > I have a suspicion you're never going to let that go, but it's not > relevant here anyway. Binaries have been hardcoding their build > location (e.g. /usr/local) since the dawn of time. Most don't. > The best you can > do is to binary edit everything to a string of the same length, and > that works for .la files too. The existence of .la files is a bug. We already have a mechanism for recording dependencies between libraries; it's built into the ELF format, and does not require hardcoding any directories. Introducing .la files which override the existing mechanism and *do* hardcode directories is a regression. I don't buy the argument that "KDE won't build without them", or whatever it was you used to justify this. There is nothing an .la file does which can't be done more properly by adding the correct directory to your ldconfig path. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no