summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2020-03-15 15:23:34 -0700
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2020-03-15 15:26:33 -0700
commit2e5234410835b063971866f6607d84b01dc49af0 (patch)
tree74c205c5b2ae96a360e0a40cccb08383e3a2f145 /dev-lua
parentdev-lua/luarocks: version bump to 3.3.1 (diff)
downloadgentoo-2e5234410835b063971866f6607d84b01dc49af0.tar.gz
gentoo-2e5234410835b063971866f6607d84b01dc49af0.tar.bz2
gentoo-2e5234410835b063971866f6607d84b01dc49af0.zip
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 <gyakovlev@gentoo.org>
Diffstat (limited to 'dev-lua')
-rw-r--r--dev-lua/luarocks/luarocks-3.2.1.ebuild17
-rw-r--r--dev-lua/luarocks/luarocks-3.3.1.ebuild17
2 files changed, 18 insertions, 16 deletions
diff --git a/dev-lua/luarocks/luarocks-3.2.1.ebuild b/dev-lua/luarocks/luarocks-3.2.1.ebuild
index 9cade0befc8..d7aa5c421fd 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 9cade0befc8..d7aa5c421fd 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