Based on the Eclass docs for l10n.eclass (and my general understanding on how to apply it), the attached ebuild should allow for a more graceful handling of system LINGUAS for the package. The edge case here is that GDM is built with linguas either not supported or needed. Size difference is minimal, but would help catch anything from falling off. Only difference between this ebuild and the original 40.0 is the addition of an inherit, PLOCALES variables, and calling `strip-linguas`. Reproducible: Sometimes Steps to Reproduce: This is a feature request with an attached ebuild. The ebuild command completes correctly with a limited LINGUAS flag set. Actual Results: All /po and /docs `.po` linguas files get processed. Expected Results: Limited /po and /docs `.po` matching system linguas get processed.
Created attachment 717264 [details] complete ebuild Attachment of ebuild for review.
NAK from leio (which I agree with). Just use INSTALL_MASK (see make.conf(5)).