summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-qt/qt-creator')
-rw-r--r--dev-qt/qt-creator/qt-creator-4.6.1.ebuild3
-rw-r--r--dev-qt/qt-creator/qt-creator-9999.ebuild3
2 files changed, 4 insertions, 2 deletions
diff --git a/dev-qt/qt-creator/qt-creator-4.6.1.ebuild b/dev-qt/qt-creator/qt-creator-4.6.1.ebuild
index f18340089d13..17290bea032b 100644
--- a/dev-qt/qt-creator/qt-creator-4.6.1.ebuild
+++ b/dev-qt/qt-creator/qt-creator-4.6.1.ebuild
@@ -102,9 +102,10 @@ src_prepare() {
fi
done
- # avoid building unused support libraries
+ # avoid building unused support libraries and tools
if ! use clangcodemodel; then
sed -i -e '/clangsupport/d' src/libs/libs.pro || die
+ sed -i -e '/SUBDIRS += clang\(\|refactoring\|pchmanager\)backend/d' src/tools/tools.pro || die
fi
if ! use glsl; then
sed -i -e '/glsl/d' src/libs/libs.pro || die
diff --git a/dev-qt/qt-creator/qt-creator-9999.ebuild b/dev-qt/qt-creator/qt-creator-9999.ebuild
index 9a301fa2fae8..2156903101bf 100644
--- a/dev-qt/qt-creator/qt-creator-9999.ebuild
+++ b/dev-qt/qt-creator/qt-creator-9999.ebuild
@@ -102,9 +102,10 @@ src_prepare() {
fi
done
- # avoid building unused support libraries
+ # avoid building unused support libraries and tools
if ! use clangcodemodel; then
sed -i -e '/clangsupport/d' src/libs/libs.pro || die
+ sed -i -e '/SUBDIRS += clang\(\|refactoring\|pchmanager\)backend/d' src/tools/tools.pro || die
fi
if ! use glsl; then
sed -i -e '/glsl/d' src/libs/libs.pro || die