From owner-freebsd-hackers@FreeBSD.ORG Mon May 14 12:11:10 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 D889C16A400 for ; Mon, 14 May 2007 12:11:10 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id 7ED5913C44B for ; Mon, 14 May 2007 12:11:10 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54a5d654.dip.t-dialin.net [84.165.214.84]) by redbull.bpaserver.net (Postfix) with ESMTP id B6E4A2E223; Mon, 14 May 2007 14:11:05 +0200 (CEST) Received: from webmail.leidinger.net (webmail.Leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id 0D9C15B48A3; Mon, 14 May 2007 14:10:50 +0200 (CEST) Received: (from www@localhost) by webmail.leidinger.net (8.13.8/8.13.8/Submit) id l4ECAn1r065322; Mon, 14 May 2007 14:10:49 +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, 14 May 2007 14:10:49 +0200 Message-ID: <20070514141049.d9wp2g8400w0gkk4@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Mon, 14 May 2007 14:10:49 +0200 From: Alexander Leidinger To: Dag-Erling =?utf-8?b?U23Dg8K4cmdyYXY=?= 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> <86sla33gkm.fsf@dwp.des.no> <20070511161200.w7tzoc5mkg8og44c@webmail.leidinger.net> <86lkfru4ya.fsf@dwp.des.no> <20070514131954.sqxxrk6qi8o8gwck@webmail.leidinger.net> <868xbrtysa.fsf@dwp.des.no> In-Reply-To: <868xbrtysa.fsf@dwp.des.no> 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.4) / FreeBSD-7.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-14.564, required 8, BAYES_00 -15.00, DK_POLICY_SIGNSOME 0.00, FORGED_RCVD_HELO 0.14, MIME_8BIT_HEADER 0.30) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No X-Mailman-Approved-At: Mon, 14 May 2007 12:31:32 +0000 Cc: freebsd-hackers@freebsd.org, Mike, Meyer , Ivan Voras , Kris Kennaway 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: Mon, 14 May 2007 12:11:10 -0000 Quoting Dag-Erling Sm=C3=83=C2=B8rgrav (from Mon, 14 May 2007 = =20 13:44:37 +0200): > Alexander Leidinger writes: >> Isn't this a property which can be set at build time? I mean: isn't >> there a $OSNAME case where this can be set for a specific OS? So it >> boil down to just set those two variables accordingly in the FreeBSD >> case and to send a patch to the libtool maintainers. For Linux this >> isn't doable, as there are many Linux distros out there, but for >> FreeBSD we can do this. But this should be tested on pointyhat first, >> I think. > > I'm not sure I understand your question, but libtool sets the rpath if > 1) an .la file is present and 2) hardcode_into_libs is defined. The > latter happens at the configure stage, the shell code that selects the > default value is in libtool.m4: > > --- libtool.m4.orig Sun Dec 18 22:53:17 2005 > +++ libtool.m4 Mon May 14 13:43:46 2007 > @@ -1442,7 +1442,7 @@ > ;; > freebsd*) # from 4.6 on > shlibpath_overrides_runpath=3Dyes > - hardcode_into_libs=3Dyes > + hardcode_into_libs=3Dno > ;; > esac > ;; > > I've chosen not to change the default for versions older than 4.6. If this works well, you just have to submit this patch to the libtool =20 maintainers and wait until all (relevant) software packages are =20 updated to use the libtool version which comes with this change. Bye, Alexander. --=20 Jesuit priests are DATING CAREER DIPLOMATS!! http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137