app-benchmarks/wrk: add libressl support
authorAnthony G. Basile <blueness@gentoo.org>
Fri, 3 Jun 2016 08:40:57 +0000 (04:40 -0400)
committerAnthony G. Basile <blueness@gentoo.org>
Fri, 3 Jun 2016 08:41:09 +0000 (04:41 -0400)
Package-Manager: portage-2.2.28

app-benchmarks/wrk/wrk-3.1.1.ebuild
app-benchmarks/wrk/wrk-3.1.2.ebuild

index 60f01be903dcf2424c25fd3a042e37e3a9af090a..83e458b480f99af759c052385b4b244d13d406f1 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,9 +13,11 @@ SRC_URI="https://github.com/wg/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="Apache-2.0"
 SLOT="0"
 KEYWORDS="~x86 ~amd64"
-IUSE=""
+IUSE="libressl"
 
-DEPEND="dev-libs/openssl:0 >=dev-lang/luajit-2.0.2"
+DEPEND=">=dev-lang/luajit-2.0.2
+       !libressl? ( dev-libs/openssl:0= )
+       libressl? ( dev-libs/libressl:0= )"
 RDEPEND="${DEPEND}"
 
 src_prepare() {
index 3c01bc5284d1af59ec1a0c28ba4fc5563139b9d4..425b7fb5347381e1dad0c29fbf59f5f2db8ac028 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,10 +13,11 @@ SRC_URI="https://github.com/wg/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="Apache-2.0"
 SLOT="0"
 KEYWORDS="~x86 ~amd64"
-IUSE=""
+IUSE="libressl"
 
-DEPEND="dev-libs/openssl:0
-       >=dev-lang/luajit-2.0.2"
+DEPEND=">=dev-lang/luajit-2.0.2
+       !libressl? ( dev-libs/openssl:0= )
+       libressl? ( dev-libs/libressl:0= )"
 RDEPEND="${DEPEND}"
 
 src_prepare() {