View previous topic :: View next topic |
Author |
Message |
SignOfZeta n00b
Joined: 12 Aug 2005 Posts: 63 Location: New England
|
Posted: Tue Aug 16, 2005 1:06 am Post subject: Installing Portage stuff outside of Portage |
|
|
I recently needed an install of the Simple DirectMedia Layer. Portage has all versions of media-libs/libsdl masked, so I just downloaded the 1.2.8-r1 source from SDL's website and built it myself (in true Gentoo fashion, using CFLAGS and configure-script options ). But now, I think I should tell Portage it's installed so other programs can use it should they require it as a dependency. How should I do this?
My idea was to add it to packages.provided, since I don't Portage messing with it (at least not until it becomes unmasked). However, I'm pretty sure an emerge --sync will overwrite most everything under /usr/portage. (We'll find out in a few minutes.)
I could add it to world, but then Portage might mess with it and ruin it or attempt to uninstall it, since the version (and all others) is masked. What should I do? |
|
Back to top |
|
|
bkunlimited l33t
Joined: 18 Jun 2004 Posts: 672
|
Posted: Tue Aug 16, 2005 7:28 am Post subject: |
|
|
add SDL to /etc/portage/package.keywords and emerge it |
|
Back to top |
|
|
SignOfZeta n00b
Joined: 12 Aug 2005 Posts: 63 Location: New England
|
Posted: Tue Aug 16, 2005 7:37 am Post subject: |
|
|
Hey thanks, it's remerging (re-emerging) right now. I'm just curious as to why it works... isn't package.keywords a replacement for ACCEPT_KEYWORDS and USE on the command line? |
|
Back to top |
|
|
|