1 |
On Tue, 2008-11-25 at 17:09 +0000, Alan Hourihane wrote: |
2 |
> On Tue, 2008-11-25 at 18:05 +0100, Fabian Groffen wrote: |
3 |
> > On 25-11-2008 17:02:11 +0000, Alan Hourihane wrote: |
4 |
> > > On Tue, 2008-11-25 at 17:57 +0100, Fabian Groffen wrote: |
5 |
> > > > On 25-11-2008 16:53:19 +0000, Alan Hourihane wrote: |
6 |
> > > > > There's a bug in the readline ebuild that says this... |
7 |
> > > > > |
8 |
> > > > > [[ $(get_libname) != .a ]] && |
9 |
> > > > > |
10 |
> > > > > It should be.... |
11 |
> > > > > |
12 |
> > > > > [[ $(get_libname) == .a ]] && |
13 |
> > > > |
14 |
> > > > I think haubi did this on purpose, as AIX has .a for "shared libraries" |
15 |
> > > > :( |
16 |
> > > > It moves the "static" library out of the way, but if the platform |
17 |
> > > > happens to use .a for that, it refrains from doing so. |
18 |
> > > > |
19 |
> > > > Haubi has the last word on this. |
20 |
> > > |
21 |
> > > Then I need to add.... |
22 |
> > > |
23 |
> > > [[ ${CHOST} == *-mint* ]] && |
24 |
> > > mv "${ED}"/$(get_libdir)/lib{readline,history}.a |
25 |
> > > "${ED}"/usr/$(get_libdir)/ |
26 |
> > |
27 |
> > Hahaha... I knew this was going to break some time... Let's see what |
28 |
> > haubi thinks/wants. Does mint have shared libraries, or just static |
29 |
> > ones? |
30 |
> |
31 |
> Just static. |
32 |
|
33 |
Ohw, no shared libs! |
34 |
Wouldn't this require some (portage-)mechanism to perform a |
35 |
reverse-dependency-rebuild based on {,R}DEPEND? |
36 |
|
37 |
As far as I understand, get_libname() returns the extension used for |
38 |
*shared* libraries (which on AIX unfortunately can be '.a'). |
39 |
|
40 |
What should $(get_libname) return when there are no shared libraries? |
41 |
|
42 |
The test in readline just prevents moving 'lib*.a' out of /lib when it |
43 |
(potentially) is the shared library. |
44 |
|
45 |
When there are no shared libs at all, isn't it just wrong to have |
46 |
get_libname() returning '.a'? Maybe it should return either the empty |
47 |
string, or something like '.irrelevant' IMO. |
48 |
|
49 |
/haubi/ |
50 |
-- |
51 |
Michael Haubenwallner |
52 |
Gentoo on a different level |