dev-lua/luvit: add libressl support
authorAnthony G. Basile <blueness@gentoo.org>
Sun, 26 Jun 2016 12:24:15 +0000 (08:24 -0400)
committerAnthony G. Basile <blueness@gentoo.org>
Sun, 26 Jun 2016 12:24:42 +0000 (08:24 -0400)
Package-Manager: portage-2.2.28

dev-lua/luvit/luvit-0.8.2.ebuild
dev-lua/luvit/luvit-9999.ebuild

index b5c57b0cd782e271320c5f94e2b5e279d0d013eb..9dc010059663bd76629fce10974e8e2ac3ce572d 100644 (file)
@@ -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]
index 74e9d2f999e59715cac4b9cf43b0da31cdd40f18..7be9a195efd275b5cf17d23ee24960832335a787 100644 (file)
@@ -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]