Hi,

I want to compile mplayer in a way not supported by the ebuild and use
portage only to keep record of the files installed in system for future
uninstallation.

The system amd64 stable.

I have done the following:

(1) echo media-video/mplayer >> /etc/portage/package.keywords

// "emerge -p mplayer" now gives:
media-video/mplayer-1.0_rc2_p24929-r2 //

(2) echo media-video/mplayer-1.0_rc2_p24929-r2
>> /etc/portage/package.provided

(3) ebuild `equery w mplayer` unpack

(4) cd $PORTAGE_TMPDIR/portage/media-video/mplayer-*/work/mplayer*
(5) ./configure --the-way-I-want-it-to-be
(6)make
(7) cd ../../
(8) touch .compiled
(9) ebuild `equery w mplayer` merge


Everything seems to be OK until I try "emerge -DuNav world". After
this point portage wants to rebuild mplayer, showing all USE flags
as newly added (e.g. "alsa%"). I expected putting mplayer
into /etc/portage/package.keywords to make portage ignore this
package.

Where is my mistake and what is the correct method I should follow?

-- 
Best regards,
Daniel
-- 
[email protected] mailing list

Reply via email to