summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2016-09-27 21:14:23 +0200
committerMichael Weber <xmw@gentoo.org>2016-09-27 21:14:23 +0200
commitab0f66c57803c952e7230583e92401054b3f985b (patch)
tree8acb885ccfa265a45a3e0631dce1a586ab6b19ba /app-office/scribus/scribus-1.5.0-r1.ebuild
parentapp-office/scribus: drop old versions. (diff)
downloadgentoo-ab0f66c57803c952e7230583e92401054b3f985b.tar.gz
gentoo-ab0f66c57803c952e7230583e92401054b3f985b.tar.bz2
gentoo-ab0f66c57803c952e7230583e92401054b3f985b.zip
app-office/scribus: Update live ebuild. Add qt-5.7.0 patch.
Package-Manager: portage-2.2.28
Diffstat (limited to 'app-office/scribus/scribus-1.5.0-r1.ebuild')
-rw-r--r--app-office/scribus/scribus-1.5.0-r1.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/app-office/scribus/scribus-1.5.0-r1.ebuild b/app-office/scribus/scribus-1.5.0-r1.ebuild
index 80f8a7796169..aae0c4c25ca9 100644
--- a/app-office/scribus/scribus-1.5.0-r1.ebuild
+++ b/app-office/scribus/scribus-1.5.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -97,6 +97,10 @@ src_prepare() {
-e 's:\(${CMAKE_INSTALL_PREFIX}\):./\1:g' \
-i resources/templates/CMakeLists.txt || die
+ if has_version ">=dev-qt/qtcore-5.7.0" ; then
+ append-cxxflags "-std=c++11" #bug 591948
+ fi
+
cmake-utils_src_prepare
}