summaryrefslogtreecommitdiff
path: root/dev-qt
diff options
context:
space:
mode:
authorDavide Pesavento <pesa@gentoo.org>2020-07-12 00:51:47 +0200
committerDavide Pesavento <pesa@gentoo.org>2020-07-12 01:16:23 +0200
commit71df5fd9bbfc42f653e683adfc72737c36ecece4 (patch)
treece8da243c30b6860052db43dbd2069ec568eb9ad /dev-qt
parentsys-apps/diffutils: EAPI 7 bump (diff)
downloadgentoo-71df5fd9bbfc42f653e683adfc72737c36ecece4.tar.gz
gentoo-71df5fd9bbfc42f653e683adfc72737c36ecece4.tar.bz2
gentoo-71df5fd9bbfc42f653e683adfc72737c36ecece4.zip
dev-qt/qt-creator: yaml-cpp is required only with USE=clang
Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Davide Pesavento <pesa@gentoo.org>
Diffstat (limited to 'dev-qt')
-rw-r--r--dev-qt/qt-creator/qt-creator-9999.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev-qt/qt-creator/qt-creator-9999.ebuild b/dev-qt/qt-creator/qt-creator-9999.ebuild
index e361cea5dafa..62d4e47d5e8b 100644
--- a/dev-qt/qt-creator/qt-creator-9999.ebuild
+++ b/dev-qt/qt-creator/qt-creator-9999.ebuild
@@ -51,7 +51,6 @@ BDEPEND="
doc? ( >=dev-qt/qdoc-${QT_PV} )
"
CDEPEND="
- >=dev-cpp/yaml-cpp-0.6.2:=
>=dev-qt/qtconcurrent-${QT_PV}
>=dev-qt/qtcore-${QT_PV}
>=dev-qt/qtdeclarative-${QT_PV}[widgets]
@@ -67,6 +66,7 @@ CDEPEND="
>=dev-qt/qtxml-${QT_PV}
kde-frameworks/syntax-highlighting:5
clang? (
+ >=dev-cpp/yaml-cpp-0.6.2:=
|| (
( sys-devel/clang:10
dev-libs/libclangformat-ide:10 )
@@ -142,7 +142,7 @@ src_prepare() {
# avoid building unused support libraries and tools
if ! use clang; then
- sed -i -e '/clangsupport/d' src/libs/libs.pro || die
+ sed -i -e '/clangsupport\|yaml-cpp/d' src/libs/libs.pro || die
sed -i -e '/clang\(\|pchmanager\|refactoring\)backend/d' src/tools/tools.pro || die
fi
if ! use glsl; then