projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f76071f
)
app-text/poppler: fix build on Darwin, thanks Hermann Gundel in bug #622526
author
Fabian Groffen
<grobian@gentoo.org>
Tue, 27 Jun 2017 13:00:46 +0000
(15:00 +0200)
committer
Fabian Groffen
<grobian@gentoo.org>
Tue, 27 Jun 2017 13:00:58 +0000
(15:00 +0200)
Package-Manager: Portage-2.3.6, Repoman-2.3.1
app-text/poppler/poppler-0.56.0.ebuild
patch
|
blob
|
history
diff --git
a/app-text/poppler/poppler-0.56.0.ebuild
b/app-text/poppler/poppler-0.56.0.ebuild
index 088e5a72c432dfd21beddc142bb4c5154b714931..1216746a460449ff78c7ea34dcf2a485ea56999a 100644
(file)
--- 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() {