commit:     bb0f9ca70989c5c80d88b7d9e73fa9ae02c6fcb0
Author:     Vadim A. Misbakh-Soloviov <git <AT> mva <DOT> name>
AuthorDate: Thu Apr  6 03:54:12 2017 +0000
Commit:     Vadim A. Misbakh-Soloviov <mva <AT> mva <DOT> name>
CommitDate: Thu Apr  6 03:54:12 2017 +0000
URL:        https://gitweb.gentoo.org/proj/lua.git/commit/?id=bb0f9ca7

verse: fix

 dev-lua/verse/verse-9999.ebuild | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

diff --git a/dev-lua/verse/verse-9999.ebuild b/dev-lua/verse/verse-9999.ebuild
index 87c4a24..c2ef6bf 100644
--- a/dev-lua/verse/verse-9999.ebuild
+++ b/dev-lua/verse/verse-9999.ebuild
@@ -5,6 +5,7 @@ EAPI=6
 
 VCS="mercurial"
 LUA_COMPAT="lua51 luajit2"
+CUSTOM_ECONF=true
 inherit lua
 
 DESCRIPTION="XMPP client library written in Lua."
@@ -29,8 +30,18 @@ DEPEND="
 
 EXAMPLES=(doc/.)
 
-each_lua_compile() {
-       squish --use-http
+each_lua_prepare() {
+       local impl="$(lua_get_lua)"
+       sed -r \
+               -e "s@^(PREFIX)=.*@\1=/usr@" \
+               -e "s@^(LUA_VERSION)=.*@\1=${impl##lua}@" \
+               -i configure
+       lua_default
+}
+
+each_lua_configure() {
+       ./configure
+       lua_default
 }
 
 each_lua_install() {

Reply via email to