Skip to content

Commit

Permalink
Merge pull request #252 from o01eg/master
Browse files Browse the repository at this point in the history
dev-lang/rust: Fix configuration after removing --enable-save-analysis flag.
  • Loading branch information
cnd authored Apr 13, 2017
2 parents 20c0ccf + 2d812ee commit 6833f4d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion dev-lang/rust/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
<flag name="system-llvm">Use system <pkg>sys-devel/llvm</pkg> in
place of the bundled one</flag>
<flag name="sanitize">Add LeakSanitizer, ThreadSanitizer, AddressSanitizer and MemorySanitizer support</flag>
<flag name="analysis">Install standard library analysis data used by Rust Language Server</flag>
<flag name="tools">Enable a build of the and extended rust tool (RLS, analysis data, ...)</flag>
</use>
</pkgmetadata>
10 changes: 2 additions & 8 deletions dev-lang/rust/rust-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ HOMEPAGE="http://www.rust-lang.org/"
LICENSE="|| ( MIT Apache-2.0 ) BSD-1 BSD-2 BSD-4 UoI-NCSA"
KEYWORDS=""

IUSE="clang debug doc libcxx source +system-llvm sanitize analysis"
IUSE="clang debug doc libcxx source +system-llvm sanitize tools"
REQUIRED_USE="libcxx? ( clang )"

CDEPEND="libcxx? ( sys-libs/libcxx )
Expand Down Expand Up @@ -105,7 +105,7 @@ src_configure() {
$(use_enable libcxx libcpp) \
$(use_enable sanitize sanitizers) \
$(usex system-llvm "--llvm-root=${EPREFIX}/usr" " ") \
$(use_enable analysis save-analysis) \
$(use_enable tools extended) \
|| die
}

Expand Down Expand Up @@ -151,12 +151,6 @@ src_install() {
dodir /usr/share/${P}
cp -R "${S}/src" "${D}/usr/share/${P}"
fi

if use debug; then
TARGET=debug
else
TARGET=release
fi
}

pkg_postinst() {
Expand Down

0 comments on commit 6833f4d

Please sign in to comment.