From: Anthony G. Basile Date: Sun, 26 Jun 2016 12:24:15 +0000 (-0400) Subject: dev-lua/luvit: add libressl support X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=75ca1f33151c81a48485c4900c77ef8ce6647294;p=gentoo.git dev-lua/luvit: add libressl support Package-Manager: portage-2.2.28 --- diff --git a/dev-lua/luvit/luvit-0.8.2.ebuild b/dev-lua/luvit/luvit-0.8.2.ebuild index b5c57b0cd782..9dc010059663 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 74e9d2f999e5..7be9a195efd2 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]