From: Georgy Yakovlev Date: Sun, 15 Mar 2020 22:23:34 +0000 (-0700) Subject: dev-lua/luarocks: fix deps, add libressl useflag and keyword on ~ppc64 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2e5234410835b063971866f6607d84b01dc49af0;p=gentoo.git dev-lua/luarocks: fix deps, add libressl useflag and keyword on ~ppc64 Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: Georgy Yakovlev --- diff --git a/dev-lua/luarocks/luarocks-3.2.1.ebuild b/dev-lua/luarocks/luarocks-3.2.1.ebuild index 9cade0befc8a..d7aa5c421fde 100644 --- a/dev-lua/luarocks/luarocks-3.2.1.ebuild +++ b/dev-lua/luarocks/luarocks-3.2.1.ebuild @@ -9,15 +9,16 @@ SRC_URI="http://luarocks.org/releases/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="libressl" -RDEPEND="dev-lang/lua:= - dev-libs/openssl:= - net-misc/curl" -BDEPEND="${RDEPEND} - virtual/pkgconfig" -DEPEND="${RDEPEND}" +DEPEND="dev-lang/lua:=" +RDEPEND="${RDEPEND} + net-misc/curl + !libressl? ( dev-libs/openssl:0 ) + libressl? ( dev-libs/libressl:0 ) +" +BDEPEND="virtual/pkgconfig" src_configure() { # econf doesn't work b/c it passes variables the custom configure can't diff --git a/dev-lua/luarocks/luarocks-3.3.1.ebuild b/dev-lua/luarocks/luarocks-3.3.1.ebuild index 9cade0befc8a..d7aa5c421fde 100644 --- a/dev-lua/luarocks/luarocks-3.3.1.ebuild +++ b/dev-lua/luarocks/luarocks-3.3.1.ebuild @@ -9,15 +9,16 @@ SRC_URI="http://luarocks.org/releases/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="libressl" -RDEPEND="dev-lang/lua:= - dev-libs/openssl:= - net-misc/curl" -BDEPEND="${RDEPEND} - virtual/pkgconfig" -DEPEND="${RDEPEND}" +DEPEND="dev-lang/lua:=" +RDEPEND="${RDEPEND} + net-misc/curl + !libressl? ( dev-libs/openssl:0 ) + libressl? ( dev-libs/libressl:0 ) +" +BDEPEND="virtual/pkgconfig" src_configure() { # econf doesn't work b/c it passes variables the custom configure can't