Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 205562

Summary: app-portage/g-cpan - use a specific overlay instead of the "first" one
Product: Gentoo Linux Reporter: Arvind Jayaprakash <gentoo>
Component: Current packagesAssignee: Gentoo Perl team <perl>
Status: RESOLVED DUPLICATE    
Severity: enhancement CC: levertond, nicolas
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Arvind Jayaprakash 2008-01-13 07:28:19 UTC
g-cpan currently stores all its ebuilds in the first available overlay. As a user who is constantly adding and removing overlays, I need to pay attention to which is the "first" overlay else Imight accidentally end up wiping ebuilds pulled in by g-cpan. It would be nice if we can have a config file where users can optionally specify a specific overlay where these ebuilds have to go.

Reproducible: Always

Steps to Reproduce:
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-01-13 08:53:34 UTC
> g-cpan currently stores all its ebuilds in the first available overlay.

Well, not even that here... see Bug 176627
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2008-02-27 19:52:52 UTC

*** This bug has been marked as a duplicate of bug 176627 ***
Comment 3 Nicolas Litchinko 2008-02-28 10:47:23 UTC
There is a way to mitigate this issue. You can add this at the very end of your /etc/make.conf:

PORTDIR_OVERLAY="
/usr/local/overlays/g-cpan
${PORTDIR_OVERLAY}
"

This will ensure the g-cpan overlay is always first in line. It doesn't fix bug 176627 but patches are available there.