commit:     75ca1f33151c81a48485c4900c77ef8ce6647294
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 26 12:24:15 2016 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Sun Jun 26 12:24:42 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75ca1f33

dev-lua/luvit: add libressl support

Package-Manager: portage-2.2.28

 dev-lua/luvit/luvit-0.8.2.ebuild | 7 ++++---
 dev-lua/luvit/luvit-9999.ebuild  | 7 ++++---
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/dev-lua/luvit/luvit-0.8.2.ebuild b/dev-lua/luvit/luvit-0.8.2.ebuild
index b5c57b0..9dc0100 100644
--- a/dev-lua/luvit/luvit-0.8.2.ebuild
+++ b/dev-lua/luvit/luvit-0.8.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -14,7 +14,7 @@ SRC_URI="http://luvit.io/dist/latest/${P}.tar.gz";
 
 KEYWORDS="~amd64 ~x86"
 SLOT="0"
-IUSE="bundled-libs examples"
+IUSE="bundled-libs examples libressl"
 # luvit Apache-2.0
 # luajit MIT
 # yajl BSD
@@ -25,7 +25,8 @@ LICENSE="Apache-2.0 bundled-libs? ( BSD MIT )"
 RESTRICT="test"
 
 RDEPEND="
-       dev-libs/openssl:0
+       !libressl? ( dev-libs/openssl:0= )
+       libressl? ( dev-libs/libressl:0= )
        sys-libs/zlib
        !bundled-libs? (
                dev-lang/luajit:2[lua52compat]

diff --git a/dev-lua/luvit/luvit-9999.ebuild b/dev-lua/luvit/luvit-9999.ebuild
index 74e9d2f..7be9a19 100644
--- a/dev-lua/luvit/luvit-9999.ebuild
+++ b/dev-lua/luvit/luvit-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -14,7 +14,7 @@ EGIT_REPO_URI="git://github.com/luvit/luvit.git"
 
 KEYWORDS=""
 SLOT="0"
-IUSE="bundled-libs examples"
+IUSE="bundled-libs examples libressl"
 # luvit Apache-2.0
 # luajit MIT
 # yajl BSD
@@ -25,7 +25,8 @@ LICENSE="Apache-2.0 bundled-libs? ( BSD MIT )"
 RESTRICT="test"
 
 RDEPEND="
-       dev-libs/openssl:0
+       !libressl? ( dev-libs/openssl:0= )
+       libressl? ( dev-libs/libressl:0= )
        sys-libs/zlib
        !bundled-libs? (
                dev-lang/luajit:2[lua52compat]

Reply via email to