Skip to content

Commit

Permalink
Fix cargo build when dev-libs/libgit2 is installed (gentoo#124)
Browse files Browse the repository at this point in the history
  • Loading branch information
gentoo90 committed May 6, 2015
1 parent e0e5c0a commit d4e239a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dev-rust/cargo/cargo-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d4e239a

Please sign in to comment.