diff options
Diffstat (limited to 'dev-libs/libucl')
| -rw-r--r-- | dev-libs/libucl/libucl-0.8.1-r1.ebuild | 2 | ||||
| -rw-r--r-- | dev-libs/libucl/libucl-0.8.1-r100.ebuild | 6 | ||||
| -rw-r--r-- | dev-libs/libucl/libucl-9999.ebuild | 6 |
3 files changed, 9 insertions, 5 deletions
diff --git a/dev-libs/libucl/libucl-0.8.1-r1.ebuild b/dev-libs/libucl/libucl-0.8.1-r1.ebuild index c4c4911fe043..8c59554dfc50 100644 --- a/dev-libs/libucl/libucl-0.8.1-r1.ebuild +++ b/dev-libs/libucl/libucl-0.8.1-r1.ebuild @@ -22,7 +22,7 @@ SLOT="0" IUSE="lua +regex sign urls +utils static-libs" DEPEND="!!dev-libs/ucl - lua? ( >=dev-lang/lua-5.1:= ) + lua? ( >=dev-lang/lua-5.1:0= ) urls? ( net-misc/curl ) sign? ( dev-libs/openssl:0 ) " diff --git a/dev-libs/libucl/libucl-0.8.1-r100.ebuild b/dev-libs/libucl/libucl-0.8.1-r100.ebuild index 66e66cd2dc80..499eeed079b4 100644 --- a/dev-libs/libucl/libucl-0.8.1-r100.ebuild +++ b/dev-libs/libucl/libucl-0.8.1-r100.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)" ) 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)" ) |
