Gentoo Archives: gentoo-alt

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

Replies

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