summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVikraman Choudhury <vikraman@gentoo.org>2018-02-15 22:19:02 -0500
committerVikraman Choudhury <vikraman@gentoo.org>2018-02-16 01:59:04 -0500
commitfad10b987b46a7c062dc561430ca8f04a6ce0eba (patch)
tree3be9e5a817738e08ce1511c35204e7c72db4a600 /app-benchmarks/wrk/wrk-4.1.0.ebuild
parentsys-cluster/nova: 16.1.0 bup (diff)
downloadgentoo-fad10b987b46a7c062dc561430ca8f04a6ce0eba.tar.gz
gentoo-fad10b987b46a7c062dc561430ca8f04a6ce0eba.tar.bz2
gentoo-fad10b987b46a7c062dc561430ca8f04a6ce0eba.zip
app-benchmarks/wrk: Fix lua dep and patch Makefile
X-Gentoo-Bug: 646692 X-Gentoo-Bug-Url: https://bugs.gentoo.org/646692 Package-Manager: Portage-2.3.13, Repoman-2.3.3
Diffstat (limited to 'app-benchmarks/wrk/wrk-4.1.0.ebuild')
-rw-r--r--app-benchmarks/wrk/wrk-4.1.0.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/app-benchmarks/wrk/wrk-4.1.0.ebuild b/app-benchmarks/wrk/wrk-4.1.0.ebuild
index 8dc7bbdad50..397a84d2958 100644
--- a/app-benchmarks/wrk/wrk-4.1.0.ebuild
+++ b/app-benchmarks/wrk/wrk-4.1.0.ebuild
@@ -15,13 +15,19 @@ KEYWORDS="~x86 ~amd64"
IUSE="libressl"
DEPEND=">=dev-lang/luajit-2.0.2
+ dev-lang/lua:0
!libressl? ( dev-libs/openssl:0= )
libressl? ( dev-libs/libressl:0= )"
RDEPEND="${DEPEND}"
+src_prepare() {
+ rm -rf deps/ || die "failed to remove bundled dependencies"
+ epatch "${FILESDIR}/${PN}-4.1.0-makefile.patch"
+}
+
src_compile() {
tc-export CC
- emake VER="${PV}" WITH_LUAJIT="${EPREFIX}"/usr WITH_OPENSSL="${EPREFIX}"/usr
+ emake
}
src_install() {