summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-benchmarks/wrk/wrk-3.1.1.ebuild8
-rw-r--r--app-benchmarks/wrk/wrk-3.1.2.ebuild9
2 files changed, 10 insertions, 7 deletions
diff --git a/app-benchmarks/wrk/wrk-3.1.1.ebuild b/app-benchmarks/wrk/wrk-3.1.1.ebuild
index 60f01be903d..83e458b480f 100644
--- a/app-benchmarks/wrk/wrk-3.1.1.ebuild
+++ b/app-benchmarks/wrk/wrk-3.1.1.ebuild
@@ -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() {
diff --git a/app-benchmarks/wrk/wrk-3.1.2.ebuild b/app-benchmarks/wrk/wrk-3.1.2.ebuild
index 3c01bc5284d..425b7fb5347 100644
--- a/app-benchmarks/wrk/wrk-3.1.2.ebuild
+++ b/app-benchmarks/wrk/wrk-3.1.2.ebuild
@@ -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() {