commit: b834d7a8d37c30d0cc84508b42f2f3fcd3b31682
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 27 13:00:46 2017 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Tue Jun 27 13:00:58 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b834d7a8
app-text/poppler: fix build on Darwin, thanks Hermann Gundel in bug #622526
Package-Manager: Portage-2.3.6, Repoman-2.3.1
app-text/poppler/poppler-0.56.0.ebuild | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/app-text/poppler/poppler-0.56.0.ebuild
b/app-text/poppler/poppler-0.56.0.ebuild
index 088e5a72c43..1216746a460 100644
--- a/app-text/poppler/poppler-0.56.0.ebuild
+++ b/app-text/poppler/poppler-0.56.0.ebuild
@@ -82,6 +82,11 @@ src_prepare() {
else
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++0x"
+ fi
}
src_configure() {