Gentoo Archives: gentoo-user

From: Renat Golubchyk <ragermany@×××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] package.provided
Date: Tue, 08 Jan 2008 13:09:38
Message-Id: 20080108140718.0bd72f8b@mating-tux
In Reply to: [gentoo-user] package.provided by Daniel Iliev
1 On Tue, 8 Jan 2008 14:35:27 +0200 Daniel Iliev <daniel.iliev@×××××.com>
2 wrote:
3 > I want to compile mplayer in a way not supported by the ebuild and use
4 > portage only to keep record of the files installed in system for
5 > future uninstallation.
6 >
7 > The system amd64 stable.
8 >
9 > I have done the following:
10 >
11 > (1) echo media-video/mplayer >> /etc/portage/package.keywords
12 >
13 > // "emerge -p mplayer" now gives:
14 > media-video/mplayer-1.0_rc2_p24929-r2 //
15 >
16 > (2) echo media-video/mplayer-1.0_rc2_p24929-r2
17 > >> /etc/portage/package.provided
18 >
19 > (3) ebuild `equery w mplayer` unpack
20 >
21 > (4) cd $PORTAGE_TMPDIR/portage/media-video/mplayer-*/work/mplayer*
22 > (5) ./configure --the-way-I-want-it-to-be
23 > (6)make
24 > (7) cd ../../
25 > (8) touch .compiled
26 > (9) ebuild `equery w mplayer` merge
27 >
28 >
29 > Everything seems to be OK until I try "emerge -DuNav world". After
30 > this point portage wants to rebuild mplayer, showing all USE flags
31 > as newly added (e.g. "alsa%"). I expected putting mplayer
32 > into /etc/portage/package.keywords to make portage ignore this
33 > package.
34 >
35 > Where is my mistake and what is the correct method I should follow?
36
37 The correct method is described, for example, in the following email:
38 http://archives.gentoo.org/gentoo-user/msg_119794.xml
39
40
41 Cheers,
42 Renat
43
44 --
45 Probleme kann man niemals mit derselben Denkweise loesen,
46 durch die sie entstanden sind.
47 (Einstein)

Attachments

File name MIME type
signature.asc application/pgp-signature