Created attachment 392822 [details] build.log dev-lua/luafilesystem-1.6.2 fails to build with the :5.2 slot of dev-lang/lua (dev-lang/lua-5.2.3-r1:5.2): x86_64-pc-linux-gnu-gcc -pipe -O2 -march=athlon64-sse3 -Wall -fPIC -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings -pedantic -I/usr/include -c -o src/lfs.o src/lfs.c src/lfs.c:59:17: fatal error: lua.h: No such file or directory
Created attachment 397234 [details, diff] patch for luafilesystem-1.6.2.ebuild Proposed patch to build luafilesystem against multiple installed versions of Lua. I suggest to split this logic into a lua.eclass, analogous to the python-r1.eclass.
commit 6a72293d8433cae71f10a47417c9be9937d4cb57 (HEAD -> master, origin/master, origin/HEAD) Author: Aric Belsito <lluixhi@gmail.com> AuthorDate: Mon Mar 20 12:21:14 2017 -0700 Commit: Patrice Clement <monsieurp@gentoo.org> CommitDate: Mon May 1 23:16:47 2017 +0200 dev-lua/luafilesystem: version bump to 1.6.3. This commit: * bumps ebuild EAPI to version 6. * adds luajit support to luafilesystem. Gentoo-Bug: https://bugs.gentoo.org/534150 Gentoo-Bug: https://bugs.gentoo.org/584492 Closes: https://github.com/gentoo/gentoo/pull/4263 dev-lua/luafilesystem/Manifest | 1 + dev-lua/luafilesystem/luafilesystem-1.6.3.ebuild | 53 ++++++++++++++++++++++++ dev-lua/luafilesystem/metadata.xml | 4 ++ 3 files changed, 58 insertions(+) create mode 100644 dev-lua/luafilesystem/luafilesystem-1.6.3.ebuild