Gentoo Archives: gentoo-alt

From: Alan Hourihane <alanh@×××××××××××.uk>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] readline ebuild problem
Date: Tue, 25 Nov 2008 17:12:08
Message-Id: 1227633124.13985.452.camel@jetpack.demon.co.uk
In Reply to: Re: [gentoo-alt] readline ebuild problem by Fabian Groffen
1 On Tue, 2008-11-25 at 18:05 +0100, Fabian Groffen wrote:
2 > On 25-11-2008 17:02:11 +0000, Alan Hourihane wrote:
3 > > On Tue, 2008-11-25 at 17:57 +0100, Fabian Groffen wrote:
4 > > > On 25-11-2008 16:53:19 +0000, Alan Hourihane wrote:
5 > > > > There's a bug in the readline ebuild that says this...
6 > > > >
7 > > > > [[ $(get_libname) != .a ]] &&
8 > > > >
9 > > > > It should be....
10 > > > >
11 > > > > [[ $(get_libname) == .a ]] &&
12 > > >
13 > > > I think haubi did this on purpose, as AIX has .a for "shared libraries"
14 > > > :(
15 > > > It moves the "static" library out of the way, but if the platform
16 > > > happens to use .a for that, it refrains from doing so.
17 > > >
18 > > > Haubi has the last word on this.
19 > >
20 > > Then I need to add....
21 > >
22 > > [[ ${CHOST} == *-mint* ]] &&
23 > > mv "${ED}"/$(get_libdir)/lib{readline,history}.a
24 > > "${ED}"/usr/$(get_libdir)/
25 >
26 > Hahaha... I knew this was going to break some time... Let's see what
27 > haubi thinks/wants. Does mint have shared libraries, or just static
28 > ones?
29
30 But I don't see why static libraries shouldn't be moved out of /lib
31 anyway, they should always be in /usr/lib.
32
33 So why don't we just remove the
34
35 [[ $(get_libname) != .a ]] &&
36
37 and leave the mv there ??
38
39 Alan.

Replies

Subject Author
Re: [gentoo-alt] readline ebuild problem Fabian Groffen <grobian@g.o>