commit:     8ccee1671102dfafba1ba446a04923d45fa0371c
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 14 17:54:03 2020 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Mon Dec 14 17:57:44 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ccee167

net-im/prosody: add luajit (slotted)

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 net-im/prosody/prosody-0.11.7-r100.ebuild | 5 +++--
 1 file 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 6c88fc7967e..1afc7fa76fc 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"

Reply via email to