summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason A. Donenfeld <zx2c4@gentoo.org>2016-03-02 14:00:48 +0100
committerJason A. Donenfeld <zx2c4@gentoo.org>2016-03-02 14:01:36 +0100
commitbac4d6e0819038d116bd8c69d4f6d8092e687363 (patch)
treef59ff98830ac2d641bdf0567479f6c439dcced7a /dev-lua
parentdev-util/shellcheck: version bump (diff)
downloadgentoo-bac4d6e0819038d116bd8c69d4f6d8092e687363.tar.gz
gentoo-bac4d6e0819038d116bd8c69d4f6d8092e687363.tar.bz2
gentoo-bac4d6e0819038d116bd8c69d4f6d8092e687363.zip
Add libressl support to many packages
Package maintainers will likely want to cleanup various things for this experimental USE flag.
Diffstat (limited to 'dev-lua')
-rw-r--r--dev-lua/luacrypto/luacrypto-0.3.2-r1.ebuild3
-rw-r--r--dev-lua/luasec/luasec-0.5.ebuild4
2 files changed, 4 insertions, 3 deletions
diff --git a/dev-lua/luacrypto/luacrypto-0.3.2-r1.ebuild b/dev-lua/luacrypto/luacrypto-0.3.2-r1.ebuild
index a431caab2d5b..56679005404c 100644
--- a/dev-lua/luacrypto/luacrypto-0.3.2-r1.ebuild
+++ b/dev-lua/luacrypto/luacrypto-0.3.2-r1.ebuild
@@ -13,10 +13,11 @@ SRC_URI="https://github.com/mkottman/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
+IUSE="libressl"
RDEPEND="
>=dev-lang/lua-5.1:0
- dev-libs/openssl:0"
+ !libressl? ( dev-libs/openssl:0 ) libressl? ( dev-libs/libressl:0 )"
DEPEND="${RDEPEND}
virtual/pkgconfig"
diff --git a/dev-lua/luasec/luasec-0.5.ebuild b/dev-lua/luasec/luasec-0.5.ebuild
index 0a63236d63a1..d456bb528350 100644
--- a/dev-lua/luasec/luasec-0.5.ebuild
+++ b/dev-lua/luasec/luasec-0.5.ebuild
@@ -13,12 +13,12 @@ SRC_URI="https://github.com/brunoos/luasec/archive/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm x86"
-IUSE=""
+IUSE="libressl"
RDEPEND="
>=dev-lang/lua-5.1:0[deprecated]
dev-lua/luasocket
- dev-libs/openssl:0"
+ !libressl? ( dev-libs/openssl:0 ) libressl? ( dev-libs/libressl:= )"
DEPEND="${RDEPEND}
virtual/pkgconfig"