diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2018-01-04 22:31:54 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2018-01-05 01:34:28 +0100 |
commit | a9865f4c3b45cd345fe630c20133bc9f1fc0f82d (patch) | |
tree | 95d03a5e454b15b6cd494363f5fb6393a74cf3f3 | |
parent | profiles: Mask unused KDE SC 4 remains for removal (diff) | |
download | gentoo-a9865f4c3b45cd345fe630c20133bc9f1fc0f82d.tar.gz gentoo-a9865f4c3b45cd345fe630c20133bc9f1fc0f82d.tar.bz2 gentoo-a9865f4c3b45cd345fe630c20133bc9f1fc0f82d.zip |
app-text/poppler: Unconditionally build with -std=c++11
Closes: https://bugs.gentoo.org/643278
Package-Manager: Portage-2.3.19, Repoman-2.3.6
-rw-r--r-- | app-text/poppler/poppler-0.61.1.ebuild | 10 | ||||
-rw-r--r-- | app-text/poppler/poppler-0.62.0.ebuild | 10 | ||||
-rw-r--r-- | app-text/poppler/poppler-9999.ebuild | 8 |
3 files changed, 11 insertions, 17 deletions
diff --git a/app-text/poppler/poppler-0.61.1.ebuild b/app-text/poppler/poppler-0.61.1.ebuild index 64b5eec0d538..250e315dbb98 100644 --- a/app-text/poppler/poppler-0.61.1.ebuild +++ b/app-text/poppler/poppler-0.61.1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 -inherit cmake-utils toolchain-funcs xdg-utils +inherit cmake-utils flag-o-matic toolchain-funcs xdg-utils if [[ "${PV}" == "9999" ]] ; then inherit git-r3 @@ -84,10 +84,8 @@ src_prepare() { einfo "policy(SET CMP0002 OLD) - workaround can be removed" fi - if tc-is-clang && [[ ${CHOST} == *-darwin* ]] ; then - # we need to up the C++ version, bug #622526 - export CXX="$(tc-getCXX) -std=c++11" - fi + # we need to up the C++ version, bug #622526, #643278 + append-cxxflags -std=c++11 } src_configure() { diff --git a/app-text/poppler/poppler-0.62.0.ebuild b/app-text/poppler/poppler-0.62.0.ebuild index b2677478d773..49e0196feea0 100644 --- a/app-text/poppler/poppler-0.62.0.ebuild +++ b/app-text/poppler/poppler-0.62.0.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 -inherit cmake-utils toolchain-funcs xdg-utils +inherit cmake-utils flag-o-matic toolchain-funcs xdg-utils if [[ "${PV}" == "9999" ]] ; then inherit git-r3 @@ -79,10 +79,8 @@ src_prepare() { einfo "policy(SET CMP0002 OLD) - workaround can be removed" fi - if tc-is-clang && [[ ${CHOST} == *-darwin* ]] ; then - # we need to up the C++ version, bug #622526 - export CXX="$(tc-getCXX) -std=c++11" - fi + # we need to up the C++ version, bug #622526, #643278 + append-cxxflags -std=c++11 } src_configure() { diff --git a/app-text/poppler/poppler-9999.ebuild b/app-text/poppler/poppler-9999.ebuild index f84bcf398fb8..99060e661f22 100644 --- a/app-text/poppler/poppler-9999.ebuild +++ b/app-text/poppler/poppler-9999.ebuild @@ -3,7 +3,7 @@ EAPI=6 -inherit cmake-utils toolchain-funcs xdg-utils +inherit cmake-utils flag-o-matic toolchain-funcs xdg-utils if [[ "${PV}" == "9999" ]] ; then inherit git-r3 @@ -79,10 +79,8 @@ src_prepare() { einfo "policy(SET CMP0002 OLD) - workaround can be removed" fi - if tc-is-clang && [[ ${CHOST} == *-darwin* ]] ; then - # we need to up the C++ version, bug #622526 - export CXX="$(tc-getCXX) -std=c++11" - fi + # we need to up the C++ version, bug #622526, #643278 + append-cxxflags -std=c++11 } src_configure() { |