Summary: | dev-lua/lpeg with dev-lang/lua-5.2.3-r1 - lua.pc directs libraries to /usr/lib64/lua instead of /usr/lib64/lua/5.2 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Tim Jones <tjones01> |
Component: | [OLD] Development | Assignee: | Vim Maintainers <vim> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dschridde+gentoobugs, esigra |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=510846 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 407091 | ||
Attachments: |
patch for lua-5.2.3-r1.ebuild
patch for lua-5.2.3-r1.ebuild patch for lua-5.2.3-r1.ebuild patch for lua.pc patch for lua-5.2.3-r1.ebuild |
Description
Tim Jones
2014-10-04 16:23:07 UTC
Just to be clear, this does not effect only lpeg. It should effect all of these, because they determine their install directory in the same way: grep -r --include='*.ebuild' /usr/portage/ -e 'INSTALL_CMOD lua' Confirming the issue. V= in the pkgconfig is empty, which is wrong. According to Tim's investigation the fix should be simple. Created attachment 397210 [details, diff]
patch for lua-5.2.3-r1.ebuild
This fixes it.
Keywords=+PATCH
Created attachment 397212 [details, diff]
patch for lua-5.2.3-r1.ebuild
Patch using SLOT instead of PATCH_PV.
Created attachment 397214 [details, diff]
patch for lua-5.2.3-r1.ebuild
This patch also fixes INSTALL_INC by using a new revision of lua.pc
Created attachment 397216 [details, diff]
patch for lua.pc
Created attachment 397224 [details, diff]
patch for lua-5.2.3-r1.ebuild
See bug #534150 for a proposal how to build against multiple versions of Lua. dev-lang/lpeg-1.0.2 correctly installs its files into /usr/share/lua/x.y/ and /usr/lib64/lua/x.y/ , for both 5.2 and 5.3 |