dev-lua/luarocks: fix deps, add libressl useflag and keyword on ~ppc64
authorGeorgy Yakovlev <gyakovlev@gentoo.org>
Sun, 15 Mar 2020 22:23:34 +0000 (15:23 -0700)
committerGeorgy Yakovlev <gyakovlev@gentoo.org>
Sun, 15 Mar 2020 22:26:33 +0000 (15:26 -0700)
Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
dev-lua/luarocks/luarocks-3.2.1.ebuild
dev-lua/luarocks/luarocks-3.3.1.ebuild

index 9cade0befc8a06a7e3262cca0f58724232fe5820..d7aa5c421fdeda407ef058ef0a55ccc43c9ce510 100644 (file)
@@ -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
index 9cade0befc8a06a7e3262cca0f58724232fe5820..d7aa5c421fdeda407ef058ef0a55ccc43c9ce510 100644 (file)
@@ -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