diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-01-21 19:03:35 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-01-21 19:03:35 +0000 |
commit | 0ebf740b9c9bc7c10ac41bea315ecc6c01c79166 (patch) | |
tree | 15bb76d57cfb8652fd2627a24007e0bb92ec4a99 /dev-util/lldb/lldb-9999.ebuild | |
parent | 5b5df25227111ef465caf5c52bcfb66dac3219cd (diff) |
gentoo resync : 21.01.2018
Diffstat (limited to 'dev-util/lldb/lldb-9999.ebuild')
-rw-r--r-- | dev-util/lldb/lldb-9999.ebuild | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/dev-util/lldb/lldb-9999.ebuild b/dev-util/lldb/lldb-9999.ebuild index 594c205692d7..7e422adecfd2 100644 --- a/dev-util/lldb/lldb-9999.ebuild +++ b/dev-util/lldb/lldb-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -67,15 +67,10 @@ src_configure() { -DLLDB_DISABLE_CURSES=$(usex !ncurses) -DLLDB_DISABLE_LIBEDIT=$(usex !libedit) -DLLDB_DISABLE_PYTHON=$(usex !python) + -DLLDB_USE_SYSTEM_SIX=1 -DLLVM_ENABLE_TERMINFO=$(usex ncurses) -DLLDB_INCLUDE_TESTS=$(usex test) - -DLLVM_BUILD_TESTS=$(usex test) - # compilers for lit tests - -DLLDB_TEST_C_COMPILER="$(type -P clang)" - -DLLDB_TEST_CXX_COMPILER="$(type -P clang++)" - # compiler for ole' python tests - -DLLDB_TEST_COMPILER="$(type -P clang)" # TODO: fix upstream to detect this properly -DHAVE_LIBDL=ON @@ -88,6 +83,11 @@ src_configure() { -DCURSES_NEED_NCURSES=ON ) use test && mycmakeargs+=( + -DLLVM_BUILD_TESTS=$(usex test) + # compilers for lit tests + -DLLDB_TEST_C_COMPILER="$(type -P clang)" + -DLLDB_TEST_CXX_COMPILER="$(type -P clang++)" + -DLLVM_MAIN_SRC_DIR="${WORKDIR}/llvm" -DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit" -DLLVM_LIT_ARGS="-vv" @@ -106,9 +106,6 @@ src_install() { # oh my... if use python; then - # remove bundled six module - rm "${D}$(python_get_sitedir)/six.py" || die - # remove custom readline.so for now # TODO: figure out how to deal with it # upstream is basically building a custom readline.so with -ledit |