summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim A. Misbakh-Soloviov <mva@mva.name>2013-05-12 00:55:26 +0700
committerVadim A. Misbakh-Soloviov <mva@mva.name>2013-05-12 00:55:26 +0700
commit1e0ce133cad2d896ec16a4aee0e015ed2f227d5e (patch)
treedb6a931ed503df640f39dc9b90fbde6547f73020 /dev-lua/lua-fann
parent[dev-lang/luajit] fixed deps (diff)
downloadlua-1e0ce133cad2d896ec16a4aee0e015ed2f227d5e.tar.gz
lua-1e0ce133cad2d896ec16a4aee0e015ed2f227d5e.tar.bz2
lua-1e0ce133cad2d896ec16a4aee0e015ed2f227d5e.zip
mass fix
Signed-off-by: Vadim A. Misbakh-Soloviov <mva@mva.name>
Diffstat (limited to 'dev-lua/lua-fann')
-rw-r--r--dev-lua/lua-fann/lua-fann-9999.ebuild11
1 files changed, 3 insertions, 8 deletions
diff --git a/dev-lua/lua-fann/lua-fann-9999.ebuild b/dev-lua/lua-fann/lua-fann-9999.ebuild
index f77e54b..c164bc0 100644
--- a/dev-lua/lua-fann/lua-fann-9999.ebuild
+++ b/dev-lua/lua-fann/lua-fann-9999.ebuild
@@ -22,15 +22,10 @@ RDEPEND="|| ( >=dev-lang/lua-5.1 dev-lang/luajit:2 )
DEPEND="${RDEPEND}"
src_prepare() {
- LUABIN="lua"
+ local lua=lua;
+ use luajit && lua=luajit;
+ echo "LUA_IMPL=${lua}" > .config
default
- epatch_user
- use luajit && export LUA_INCLUDE_DIR="/usr/$(get_libdir)/luajit-2.0"
- use luajit && export LUABIN="luajit"
-}
-
-src_test() {
- emake test
}
src_install() {