summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2016-06-03 04:40:57 -0400
committerAnthony G. Basile <blueness@gentoo.org>2016-06-03 04:41:09 -0400
commit4100d2b76e257ecc714c887ae3e4c1b6ad8f9b9a (patch)
tree4201a37a0c84254010fff0913b61bf30c5c25217 /app-benchmarks
parentdev-libs/confuse: Version bump. (diff)
downloadgentoo-4100d2b76e257ecc714c887ae3e4c1b6ad8f9b9a.tar.gz
gentoo-4100d2b76e257ecc714c887ae3e4c1b6ad8f9b9a.tar.bz2
gentoo-4100d2b76e257ecc714c887ae3e4c1b6ad8f9b9a.zip
app-benchmarks/wrk: add libressl support
Package-Manager: portage-2.2.28
Diffstat (limited to 'app-benchmarks')
-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 60f01be903dc..83e458b480f9 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 3c01bc5284d1..425b7fb53473 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() {