app-benchmarks/wrk: add libressl support

Package-Manager: portage-2.2.28
This commit is contained in:
Anthony G. Basile
2016-06-03 04:40:57 -04:00
parent 720edc0709
commit 4100d2b76e
2 changed files with 10 additions and 7 deletions

View 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() {

View 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() {