Gentoo Archives: gentoo-alt

From: Michael Haubenwallner <haubi@g.o>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] readline ebuild problem
Date: Thu, 27 Nov 2008 10:05:08
Message-Id: 1227780064.27552.49.camel@sapc154.salomon.at
In Reply to: Re: [gentoo-alt] readline ebuild problem by Alan Hourihane
1 On Wed, 2008-11-26 at 16:37 +0000, Alan Hourihane wrote:
2 <snip>
3 > > > Just static.
4 > >
5 > > Ohw, no shared libs!
6 > > Wouldn't this require some (portage-)mechanism to perform a
7 > > reverse-dependency-rebuild based on {,R}DEPEND?
8 > >
9 > > As far as I understand, get_libname() returns the extension used for
10 > > *shared* libraries (which on AIX unfortunately can be '.a').
11 > >
12 > > What should $(get_libname) return when there are no shared libraries?
13 > >
14 > > The test in readline just prevents moving 'lib*.a' out of /lib when it
15 > > (potentially) is the shared library.
16 > >
17 > > When there are no shared libs at all, isn't it just wrong to have
18 > > get_libname() returning '.a'? Maybe it should return either the empty
19 > > string, or something like '.irrelevant' IMO.
20 >
21 > Having get_libname() return .a on FreeMiNT makes things behave correctly
22 > for the majority of ebuilds.
23
24 What would really break when get_libname() does not return '.a'?
25
26 IIRC, some ebuilds have a 'static' useflag.
27 What if this is use.forced in the FreeMiNT profiles?
28
29 > Given AIX uses .a for shared libs makes me think that readline should
30 > really be AIX specific and use CHOST == *-aix* rather than just globally
31 > using != .a.
32
33 /me just doesn't feel (yet?) get_libname() returning '.a' is really
34 correct.
35
36 /haubi/
37 --
38 Michael Haubenwallner
39 Gentoo on a different level

Replies

Subject Author
Re: [gentoo-alt] readline ebuild problem Alan Hourihane <alanh@×××××××××××.uk>