Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 May 2007 04:40:27 -0400
From:      Kris Kennaway <kris@obsecurity.org>
To:        Dag-Erling Sm??rgrav <des@des.no>
Cc:        freebsd-hackers@freebsd.org, Mike Meyer <mwm-keyword-freebsdhackers2.e313df@mired.org>, Ivan Voras <ivoras@fer.hr>, Kris Kennaway <kris@obsecurity.org>
Subject:   Re: New FreeBSD package system (a.k.a. Daemon Package System (dps))
Message-ID:  <20070511084026.GA59508@xor.obsecurity.org>
In-Reply-To: <86sla33gkm.fsf@dwp.des.no>
References:  <200705102105.27271.blackdragon@highveldmail.co.za> <f20c8u$htp$1@sea.gmane.org> <17987.52037.112351.872442@bhuda.mired.org> <20070511015156.GA77895@xor.obsecurity.org> <86zm4b3h7h.fsf@dwp.des.no> <20070511082657.GA24652@xor.obsecurity.org> <86sla33gkm.fsf@dwp.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, May 11, 2007 at 10:33:29AM +0200, Dag-Erling Sm??rgrav wrote:
> Kris Kennaway <kris@obsecurity.org> 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.

Assertion without proof.  In fact a quick survey shows that 90% of my
/usr/local/bin references /usr/local.

> >                                                     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.

I can't help it that you weren't paying attention.

Kris



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070511084026.GA59508>