commit: 71df5fd9bbfc42f653e683adfc72737c36ecece4 Author: Davide Pesavento <pesa <AT> gentoo <DOT> org> AuthorDate: Sat Jul 11 22:51:47 2020 +0000 Commit: Davide Pesavento <pesa <AT> gentoo <DOT> org> CommitDate: Sat Jul 11 23:16:23 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71df5fd9
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 <AT> gentoo.org> dev-qt/qt-creator/qt-creator-9999.ebuild | 4 ++-- 1 file 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 e361cea5daf..62d4e47d5e8 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