1 |
On Tue, 2009-01-27 at 10:52 +0100, Michael Haubenwallner wrote: |
2 |
> On Fri, 2009-01-23 at 16:24 +0000, Alan Hourihane wrote: |
3 |
> > Seems as though AIX & FreeMiNT bump into this issue in a few ebuilds. |
4 |
> |
5 |
> > move_shlibs() { |
6 |
> > # move shared libs to / |
7 |
> > [[ $(get_libname) == ".irrelevant" ]] && return |
8 |
> > dodir /$(get_libdir) |
9 |
> > mv "${D}"/usr/$(get_libdir)/*.so* "${D}"/$(get_libdir)/ || die |
10 |
> > "could |
11 |
> > not move shared" |
12 |
> > } |
13 |
> > |
14 |
> > and nicely change the ebuild to... |
15 |
> > |
16 |
> > move_shlibs |
17 |
> > |
18 |
> > It'd really help clean up that nasty "mv" commandline I keep seeing |
19 |
> > everywhere in ebuilds. |
20 |
> |
21 |
> Basically agreed, but shouldn't this better be done in main tree, |
22 |
> because otherways we would need to touch those ebuilds anyway, even when |
23 |
> we have such a function? |
24 |
|
25 |
Sure, I don't have access to either, so it'd be good to come from one of |
26 |
the prefix admins to the main gentoo folk as it'd be seen to have |
27 |
approval from the group. |
28 |
|
29 |
> The function itself needs to be more flexible in regards of specifying |
30 |
> what to move (the actual lib name, should $(get_libname) be used in the |
31 |
> function or in the ebuild). |
32 |
> Haven't searched main-tree if such moves are only done |
33 |
> from /usr/$(get_libdir) to /$(get_libdir) or from somewhere else too. |
34 |
|
35 |
Agreed. |
36 |
|
37 |
Alan. |