Created attachment 291509 [details, diff] Fixes uses of LINGUAS Recent version of portage seem to sanitize the LINGUAS variable, still using LINGUAS from within an ebuild doesn't conform to PMS and the used code may fail with other package managers. Attached patch offers an alternative.
Fixed in main tree.
Unfortunately not. > for lang in ${LINGUAS}; do > # break away if not enabled; paludis support > use linguas_${lang} || continue linguas_xyz might not be in IUSE and so "use linguas_xyz" must not be called. The attached patch makes use of the variable LANGUAGES defined within the ebuild instead of LINGUAS. Thanks.
Well the code is exactly same as yours, i just added || continue instead of wrapping whole codeblock into if. Anyway, I updated the check to verify first that the lingua thingie is in IUSE.
(In reply to comment #3) > Well the code is exactly same as yours, i just added || continue instead of > wrapping whole codeblock into if. > > Anyway, I updated the check to verify first that the lingua thingie is in IUSE. The quote was your commit, should have said so. Just replacing LINGUAS with LANGUAGES is enough. The problem with LINGUAS is it's not defined in the PMS and can't be relied upon being set in the first place.
AAh I see, my bad. I updated also the variable in the for loop now.
(In reply to comment #5) > AAh I see, my bad. > > I updated also the variable in the for loop now. Much appreciated.