diff options
Diffstat (limited to 'dev-libs/libucl/libucl-9999.ebuild')
| -rw-r--r-- | dev-libs/libucl/libucl-9999.ebuild | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/dev-libs/libucl/libucl-9999.ebuild b/dev-libs/libucl/libucl-9999.ebuild index 66e66cd2dc80..499eeed079b4 100644 --- a/dev-libs/libucl/libucl-9999.ebuild +++ b/dev-libs/libucl/libucl-9999.ebuild @@ -3,7 +3,7 @@ EAPI=7 -LUA_COMPAT=( lua5-{1..3} ) +LUA_COMPAT=( lua5-{1..4} luajit ) inherit lua-single autotools DESCRIPTION="Universal configuration library parser" @@ -42,7 +42,7 @@ src_prepare() { } src_configure() { - lua_setup + use lua && lua_setup local myeconfargs=( "$(use_enable lua)" @@ -50,6 +50,8 @@ src_configure() { "$(use_enable sign signatures)" "$(use_enable urls)" "$(use_enable utils)" + ) + use lua && myeconfargs+=( LUA_INCLUDE="$(lua_get_CFLAGS)" LIB_LIBS="$(lua_get_LIBS)" ) |
