From f307c9ba1cd00766869643db0d7fc3260439e612 Mon Sep 17 00:00:00 2001 From: gentoo90 Date: Wed, 6 May 2015 11:49:00 +0300 Subject: [PATCH] dev-rust/cargo: workaround for build when dev-libs/libgit2 is installed (#124) --- dev-rust/cargo/cargo-9999.ebuild | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dev-rust/cargo/cargo-9999.ebuild b/dev-rust/cargo/cargo-9999.ebuild index 7456c4c..e4361ed 100644 --- a/dev-rust/cargo/cargo-9999.ebuild +++ b/dev-rust/cargo/cargo-9999.ebuild @@ -31,6 +31,10 @@ src_configure() { ./configure --prefix="${EPREFIX}"/usr --disable-verify-install || die } +src_compile() { + emake VERBOSE=1 PKG_CONFIG_PATH="" || die +} + src_install() { CFG_DISABLE_LDCONFIG="true" emake DESTDIR="${D}" install || die dobashcomp "${ED}"/usr/etc/bash_completion.d/cargo