Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 May 2007 14:10:49 +0200
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        Dag-Erling =?utf-8?b?U23Dg8K4cmdyYXY=?= <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:  <20070514141049.d9wp2g8400w0gkk4@webmail.leidinger.net>
In-Reply-To: <868xbrtysa.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> <20070511161200.w7tzoc5mkg8og44c@webmail.leidinger.net> <86lkfru4ya.fsf@dwp.des.no> <20070514131954.sqxxrk6qi8o8gwck@webmail.leidinger.net> <868xbrtysa.fsf@dwp.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Dag-Erling Sm=C3=83=C2=B8rgrav <des@des.no> (from Mon, 14 May 2007 =
=20
13:44:37 +0200):

> Alexander Leidinger <Alexander@Leidinger.net> 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



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