summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2020-12-14 18:54:03 +0100
committerConrad Kostecki <conikost@gentoo.org>2020-12-14 18:57:44 +0100
commit8ccee1671102dfafba1ba446a04923d45fa0371c (patch)
treefd73d1e7a2277932bf858cd03fc5faacd045836e /net-im
parentdev-lua/luasec: add luajit (slotted) (diff)
downloadgentoo-8ccee1671102dfafba1ba446a04923d45fa0371c.tar.gz
gentoo-8ccee1671102dfafba1ba446a04923d45fa0371c.tar.bz2
gentoo-8ccee1671102dfafba1ba446a04923d45fa0371c.zip
net-im/prosody: add luajit (slotted)
Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'net-im')
-rw-r--r--net-im/prosody/prosody-0.11.7-r100.ebuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/net-im/prosody/prosody-0.11.7-r100.ebuild b/net-im/prosody/prosody-0.11.7-r100.ebuild
index 6c88fc7967ee..1afc7fa76fc2 100644
--- a/net-im/prosody/prosody-0.11.7-r100.ebuild
+++ b/net-im/prosody/prosody-0.11.7-r100.ebuild
@@ -3,8 +3,8 @@
EAPI=7
-LUA_COMPAT=( lua5-{1..3} )
-LUA_REQ_USE="deprecated"
+LUA_COMPAT=( lua5-{1..3} luajit )
+LUA_REQ_USE="deprecated(+)"
inherit lua-single systemd tmpfiles toolchain-funcs
@@ -69,6 +69,7 @@ src_configure() {
--idn-library="$(usex idn 'idn' 'icu')"
--libdir="${EPREFIX}/usr/$(get_libdir)"
--linker="$(tc-getCC)"
+ --lua-version="$(usex lua_single_target_luajit '5.1' $(ver_cut 1-2 $(lua_get_version)))"
--lua-version="$(ver_cut 1-2 $(lua_get_version))"
--no-example-certs
--ostype="linux"