diff options
author | Michael Weber <xmw@gentoo.org> | 2016-09-27 20:33:40 +0200 |
---|---|---|
committer | Michael Weber <xmw@gentoo.org> | 2016-09-27 20:34:14 +0200 |
commit | 33da3942f20352ab04649354be84df5e65e1ea7e (patch) | |
tree | 5dc499eb3c0300ec404d8cc2cc72bce424f4dbd0 /app-office/scribus | |
parent | sci-chemistry/votca-xtp: initial commit (diff) | |
download | gentoo-33da3942f20352ab04649354be84df5e65e1ea7e.tar.gz gentoo-33da3942f20352ab04649354be84df5e65e1ea7e.tar.bz2 gentoo-33da3942f20352ab04649354be84df5e65e1ea7e.zip |
app-office/scribus: Fix CXXFLAGS+=-std=c++11 for qt-5.7.0 (bug 591948, thanks Juergen Rose).
Package-Manager: portage-2.2.28
Diffstat (limited to 'app-office/scribus')
-rw-r--r-- | app-office/scribus/scribus-1.5.2.ebuild | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app-office/scribus/scribus-1.5.2.ebuild b/app-office/scribus/scribus-1.5.2.ebuild index 7a0f15c72bf1..4faa8dec8bce 100644 --- a/app-office/scribus/scribus-1.5.2.ebuild +++ b/app-office/scribus/scribus-1.5.2.ebuild @@ -95,6 +95,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 } |