Gentoo Archives: gentoo-alt

From: Fabian Groffen <grobian@g.o>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] readline ebuild problem
Date: Tue, 02 Dec 2008 20:23:36
Message-Id: 20081202202330.GA9547@gentoo.org
In Reply to: Re: [gentoo-alt] readline ebuild problem by Michael Haubenwallner
1 On 02-12-2008 16:33:07 +0100, Michael Haubenwallner wrote:
2 >
3 > On Tue, 2008-12-02 at 14:59 +0100, Fabian Groffen wrote:
4 > > > This is meant for packages needing the perl-library only - preferrably
5 > > > shared (from sys-devel/libperl), or static (from dev-lang/perl) on MiNT.
6 > >
7 > > Do those exist? That is the most imporant here.
8 >
9 > Didn't actually search that, but why else did this thread get to this
10 > libperl dependency problem?
11 >
12 > One of us is puzzled:
13 >
14 > What I want to suggest:
15 >
16 > For sys-devel/libperl:
17 > * provides the perl-library (shared only)
18 > * is p.masked in m68k-mint profile
19 > * does not need the m68k-mint keyword
20 >
21 > For dev-lang/perl:
22 > * is expected to provide the perl-library somehow, by doing:
23 > * !m68k-mint?: depend on sys-devel/libperl
24 > * m68k-mint?: install /usr/lib/libperl.a
25 >
26 > For any package requiring the perl-library:
27 > * does need to know sys-devel/libperl might be unavailable
28 > * so depend on: || ( sys-devel/libperl dev-lang/perl )
29
30 this depend is just wrong, as perl doesn't provide the library for other
31 platforms, hence my more specific depends below.
32
33 > * does *not* need to know about m68k-mint
34 > * IMO the more generic way
35 >
36 > > Because then you need
37 > > something like:
38 > > || ( sys-devel/libperl m68k-mint? ( dev-lang/perl ) )
39 > > probably better:
40 > > !m68k-mint? ( sys-devel/libperl )
41 > > m68k-mint? ( dev-lang/perl)
42 >
43 > How I understand yours:
44 >
45 > For sys-devel/libperl:
46 > * provides the perl-library (shared only)
47 > * is p.masked in m68k-mint profile
48 > * does not need the m68k-mint keyword
49 >
50 > For dev-lang/perl:
51 > * !m68k-mint?: is not expected to provide the perl-library
52 > * m68k-mint: install /usr/lib/libperl.a
53 >
54 > For any package requiring the perl-library:
55 > * does need to know that sys-devel/libperl is unavailable on
56 > m68k-mint
57 > * !m68k-mint?: depend on sys-devel/libperl
58 > * m68k-mint?: depend on dev-lang/perl
59 > * IMO the less generic way
60
61 But more correct, IMO. It talks easier when we know how many packages
62 actually depend on libperl...
63
64
65 --
66 Fabian Groffen
67 Gentoo on a different level