summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavide Pesavento <pesa@gentoo.org>2017-05-27 02:24:16 +0200
committerDavide Pesavento <pesa@gentoo.org>2017-05-27 02:24:56 +0200
commit9eda51b648cb728c5b9a5e2d4ae2b962e670f69f (patch)
tree885e7144969757a4a36432e17e85c9750c827ae0 /dev-util/qbs
parentgames-arcade/diameter: Port to EAPI 6 (diff)
downloadgentoo-9eda51b648cb728c5b9a5e2d4ae2b962e670f69f.tar.gz
gentoo-9eda51b648cb728c5b9a5e2d4ae2b962e670f69f.tar.bz2
gentoo-9eda51b648cb728c5b9a5e2d4ae2b962e670f69f.zip
dev-util/qbs: tentative fix for bug 618424
Gentoo-Bug: 618424 Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-util/qbs')
-rw-r--r--dev-util/qbs/qbs-1.8.0-r1.ebuild (renamed from dev-util/qbs/qbs-1.8.0.ebuild)4
1 files changed, 4 insertions, 0 deletions
diff --git a/dev-util/qbs/qbs-1.8.0.ebuild b/dev-util/qbs/qbs-1.8.0-r1.ebuild
index 34a26df32fdf..d2cb3eae1ea4 100644
--- a/dev-util/qbs/qbs-1.8.0.ebuild
+++ b/dev-util/qbs/qbs-1.8.0-r1.ebuild
@@ -35,6 +35,10 @@ DEPEND="${RDEPEND}
src_prepare() {
default
+ # don't add /usr/include to INCLUDEPATH
+ # avoids a build failure in qt-creator with gcc-6 (bug 618424)
+ sed -i -e '/^INCLUDEPATH/ s:$${PWD}/\.\.::' src/lib/corelib/use_installed_corelib.pri || die
+
if ! use examples; then
sed -i -e '/INSTALLS +=/ s:examples::' static.pro || die
fi