[dev-db/mongodb] more clang. sigh.
This commit is contained in:
parent
dada1fc5ce
commit
aeb6fbe34e
@ -44,11 +44,6 @@ RDEPEND="acct-group/mongodb
|
||||
dev-libs/snowball-stemmer:=
|
||||
net-misc/curl
|
||||
>=sys-libs/zlib-1.2.12:=
|
||||
clang? (
|
||||
$(llvm_gen_dep "
|
||||
sys-devel/clang:\${LLVM_SLOT}
|
||||
")
|
||||
)
|
||||
kerberos? ( dev-libs/cyrus-sasl[kerberos] )
|
||||
ssl? (
|
||||
>=dev-libs/openssl-1.0.1g:0=
|
||||
@ -59,6 +54,12 @@ DEPEND="${RDEPEND}
|
||||
sys-libs/readline:0=
|
||||
debug? ( dev-debug/valgrind )"
|
||||
BDEPEND="
|
||||
clang? (
|
||||
$(llvm_gen_dep "
|
||||
sys-devel/clang:\${LLVM_SLOT}
|
||||
sys-devel/llvm:\${LLVM_SLOT}
|
||||
")
|
||||
)
|
||||
$(python_gen_any_dep '
|
||||
>=dev-build/scons-3.1.1[${PYTHON_USEDEP}]
|
||||
dev-python/cheetah3[${PYTHON_USEDEP}]
|
||||
@ -120,7 +121,6 @@ pkg_setup() {
|
||||
python-any-r1_pkg_setup
|
||||
if use clang; then
|
||||
llvm-r1_pkg_setup
|
||||
llvm_fix_tool_path CC CXX
|
||||
fi
|
||||
}
|
||||
|
||||
@ -156,7 +156,7 @@ src_configure() {
|
||||
)
|
||||
|
||||
local have_switched_compiler=
|
||||
if use clang && ! tc-is-clang; then
|
||||
if use clang && ! tc-is-clang || tc-is-clang; then
|
||||
# Force clang
|
||||
local version_clang=$(clang --version 2>/dev/null | grep -F -- 'clang version' | awk '{ print $3 }')
|
||||
[[ -n ${version_clang} ]] && version_clang=$(ver_cut 1 "${version_clang}")
|
||||
|
@ -44,11 +44,6 @@ RDEPEND="acct-group/mongodb
|
||||
dev-libs/snowball-stemmer:=
|
||||
net-misc/curl
|
||||
>=sys-libs/zlib-1.2.12:=
|
||||
clang? (
|
||||
$(llvm_gen_dep "
|
||||
sys-devel/clang:\${LLVM_SLOT}
|
||||
")
|
||||
)
|
||||
kerberos? ( dev-libs/cyrus-sasl[kerberos] )
|
||||
ssl? (
|
||||
>=dev-libs/openssl-1.0.1g:0=
|
||||
@ -59,6 +54,12 @@ DEPEND="${RDEPEND}
|
||||
sys-libs/readline:0=
|
||||
debug? ( dev-debug/valgrind )"
|
||||
BDEPEND="
|
||||
clang? (
|
||||
$(llvm_gen_dep "
|
||||
sys-devel/clang:\${LLVM_SLOT}
|
||||
sys-devel/llvm:\${LLVM_SLOT}
|
||||
")
|
||||
)
|
||||
$(python_gen_any_dep '
|
||||
>=dev-build/scons-3.1.1[${PYTHON_USEDEP}]
|
||||
dev-python/cheetah3[${PYTHON_USEDEP}]
|
||||
@ -113,7 +114,6 @@ pkg_setup() {
|
||||
python-any-r1_pkg_setup
|
||||
if use clang; then
|
||||
llvm-r1_pkg_setup
|
||||
llvm_fix_tool_path CC CXX
|
||||
fi
|
||||
}
|
||||
|
||||
@ -149,7 +149,7 @@ src_configure() {
|
||||
)
|
||||
|
||||
local have_switched_compiler=
|
||||
if use clang && ! tc-is-clang; then
|
||||
if use clang && ! tc-is-clang || tc-is-clang; then
|
||||
# Force clang
|
||||
local version_clang=$(clang --version 2>/dev/null | grep -F -- 'clang version' | awk '{ print $3 }')
|
||||
[[ -n ${version_clang} ]] && version_clang=$(ver_cut 1 "${version_clang}")
|
||||
|
Loading…
Reference in New Issue
Block a user