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:
> g-cpan currently stores all its ebuilds in the first available overlay. Well, not even that here... see Bug 176627
*** This bug has been marked as a duplicate of bug 176627 ***
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.