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

dev-lua/lua-openssl/lua-openssl-0.4.1-r1.ebuild

index 11897293d2c47b31ec2f11bb6fa5b812ca40172c..b653a97b49ebbec554fb8ca06d7513e942730698 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -13,12 +13,14 @@ SRC_URI="https://github.com/zhaozg/lua-openssl/archive/${PV}.tar.gz -> ${P}.tar.
 LICENSE="MIT openssl PHP-3"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="luajit"
+IUSE="libressl luajit"
 
 RDEPEND="
        luajit? ( dev-lang/luajit:2 )
        !luajit? ( >=dev-lang/lua-5.1:0 )
-       dev-libs/openssl:0[-bindist]"
+       !libressl? ( dev-libs/openssl:0=[-bindist] )
+       libressl? ( dev-libs/libressl:0= )
+       "
 DEPEND="${RDEPEND}
        virtual/pkgconfig"