Installing slot builds Lua 5.1 and 5.2 yields pkgconfig files with conflicting header locations and library names. Instead of referring to the symlinks from the eselect module both pkgconfig files should refer to the versions actually installed in their slots. Reproducible: Always Steps to Reproduce: 1.Install slot builds Lua 5.1 and 5.2 (may have to unmask) 2.Inspect pc files 3. Actual Results: Include directory is /usr/include, library -llua. Regardless of the slot the default (symlinks as maintained by eselect-lua) is used instead of the requested version. Expected Results: Both pc files allow to chose which library to link to only based on the slot. Patch will be attached.
Created attachment 396212 [details] lua-539828-539826-combined_patch.zip The ZIP contains altered files and diffs of all changed files in a flat folder. The file 'ISSUES' summarizes the issues addressed. The file 'luav.pc' belongs into ./files of dev-lang/lua/.
Comment on attachment 396212 [details] lua-539828-539826-combined_patch.zip is a patch
CC seems to be maintainer of the ebuild
*** This bug has been marked as a duplicate of bug 539826 ***
Why is this a duplicate of bug #539826? I understand that one is for Windows support? Which has nothing to do with the pkgconfig file of dev-lang/lua:5.2 being broken for everyone...?