summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-text/poppler/poppler-0.56.0.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/app-text/poppler/poppler-0.56.0.ebuild b/app-text/poppler/poppler-0.56.0.ebuild
index 088e5a72c432..1216746a4604 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() {