Gentoo Archives: gentoo-dev

From: "Vadim A. Misbakh-Soloviov" <mva@×××.name>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [RFC] please review ebuilds for neovim and deps
Date: Mon, 23 Feb 2015 13:53:37
Message-Id: 7399976.VWlIX8SVVZ@note
In Reply to: Re: [gentoo-dev] [RFC] please review ebuilds for neovim and deps by Ben de Groot
1 >
2 > Thanks. But I think we can simplify that for now, since lua53 isn't
3 > available (neither in the official tree or the lua overlay) and
4 >
5 > >=lua-5.2 is hardmasked.
6
7 Anyway, I think, we need "my default patch for luajit support" here (which,
8 actually, I'd suggest to apply on all packages in the tree, that declares Lua
9 support. Should I start thread about it here?):
10
11 iuse+=luajit
12 deps~= luajit? (dev-lang/luajit:2) !luajit? ( dev-lang/lua )
13 or
14
15 src_configure/install {
16 local lua=lua
17 use luajit && lua=luajit
18
19 INST_PATH_LMOD=$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD ${lua})"
20 # and/or INST_PATH_CMOD=$($(tc-getPKG_CONFIG) --variable INSTALL_CMOD ${lua})"
21 }
22
23 instead of "default" hard-dep on puc-rio lua... ;)
24
25 --
26 Best regards,
27 mva

Attachments

File name MIME type
signature.asc application/pgp-signature