diff options
-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() { |