Gentoo Archives: gentoo-alt

From: Alan Hourihane <alanh@×××××××××××.uk>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] readline ebuild problem
Date: Fri, 28 Nov 2008 16:32:13
Message-Id: 1227889919.13985.643.camel@jetpack.demon.co.uk
In Reply to: Re: [gentoo-alt] readline ebuild problem by Michael Haubenwallner
1 On Fri, 2008-11-28 at 17:23 +0100, Michael Haubenwallner wrote:
2 > On Fri, 2008-11-28 at 15:28 +0000, Alan Hourihane wrote:
3 > > On Fri, 2008-11-28 at 15:54 +0100, Fabian Groffen wrote:
4 > > > On 28-11-2008 14:51:04 +0000, Alan Hourihane wrote:
5 > > > > So, I guess if the grobibot can change sys-devel/libperl to do this...
6 > > > >
7 > > > > [[ ${CHOST} == *-mint* ]] && return
8 > > > >
9 > > > > in each of the src_unpack, src_compile, src_install and pkg_postinst
10 > > > > stages we're good to go here.
11 > > >
12 > > > I rather just fix it properly by removing the depend.
13 > >
14 > > Easier said than done. It seems various packages rely on it. What the
15 > > suggestion here ?
16 >
17 > <some thoughts>
18 > Because of that, and because the whole dependency tree is designed to
19 > have shared libraries, one kind of compromise could be possible:
20 >
21 > Have libperl.ebuild install the static libperl.a on FreeMiNT (either
22 > because of *-mint or because of $(get_libname)=='.irrelevant'), with
23 > some big fat notice that this is a compromise, which does not install
24 > the shared libperl but the static one, so the dependencies need not to
25 > be changed all over the tree.
26 > And keep having perl.ebuild not install any libperl.a to /usr/lib.
27 > In main gentoo perl.ebuild does not install libperl.a into /usr/lib,
28 > but /usr/lib/perl5/5.8.8/i686-linux/CORE/libperl.a
29
30 Hehehe..
31
32 The above is exactly what happens when I get get_libname() to return
33 ".a" :-)
34
35 > Or, have libperl.ebuild depend on perl.ebuild on *-mint? No, would
36 > likely introduce circular dependencies.
37
38 Sounds bad.
39
40 > OTOH, changing the dependencies in many ebuilds would keep ebuild-devs
41 > informed that FreeMiNT is different.
42 > </some thoughts>
43
44 Sounds bad.
45
46 Alan.

Replies

Subject Author
Re: [gentoo-alt] readline ebuild problem Michael Haubenwallner <haubi@g.o>