dev-qt/qt-creator: fix path to some clang headers

Gentoo-Bug: 614872
Package-Manager: Portage-2.3.5, Repoman-2.3.2
This commit is contained in:
Davide Pesavento
2017-04-29 21:40:27 +02:00
parent f949ccf89f
commit f2b996694e

View File

@@ -139,9 +139,11 @@ src_prepare() {
sed -i -e 's/\<timeline\(items\|notes\|selection\)renderpass\>//' tests/auto/timeline/timeline.pro || die
sed -i -e 's/\<memcheck\>//' tests/auto/valgrind/valgrind.pro || die
# fix path to some clang headers
sed -i -e "/^CLANG_RESOURCE_DIR\s*=/ s:\$\${LLVM_LIBDIR}:${EPREFIX}/usr/lib:" src/shared/clang/clang_defines.pri || die
# fix translations
sed -i -e "/^LANGUAGES =/ s:=.*:= $(l10n_get_locales):" \
share/qtcreator/translations/translations.pro || die
sed -i -e "/^LANGUAGES\s*=/ s:=.*:= $(l10n_get_locales):" share/qtcreator/translations/translations.pro || die
# remove bundled qbs
rm -rf src/shared/qbs || die