diff options
author | Davide Pesavento <pesa@gentoo.org> | 2018-05-21 07:10:08 +0200 |
---|---|---|
committer | Davide Pesavento <pesa@gentoo.org> | 2018-05-21 07:11:15 +0200 |
commit | b896c907ad2d2b3d7fedb7d21ee252f3c1133f21 (patch) | |
tree | 284b89fc1c093a5a3853d766822b8196cfbb98bf /dev-qt/qt-creator | |
parent | dev-qt/qt-creator: remove 4.6.0_rc1 (diff) | |
download | gentoo-b896c907ad2d2b3d7fedb7d21ee252f3c1133f21.tar.gz gentoo-b896c907ad2d2b3d7fedb7d21ee252f3c1133f21.tar.bz2 gentoo-b896c907ad2d2b3d7fedb7d21ee252f3c1133f21.zip |
dev-qt/qt-creator: fix build with USE=-clangcodemodel
Package-Manager: Portage-2.3.38, Repoman-2.3.9
Diffstat (limited to 'dev-qt/qt-creator')
-rw-r--r-- | dev-qt/qt-creator/qt-creator-4.6.1.ebuild | 3 | ||||
-rw-r--r-- | dev-qt/qt-creator/qt-creator-9999.ebuild | 3 |
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 |