aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2012-03-14 15:27:44 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2012-03-14 15:27:44 +0000
commitf9bbcde644924308cebb340977bcd2a55733ff89 (patch)
tree16fce9ee6c7a0cca6dd9d01d2499daa90a521e1c /graphics
parentc966ec82b3a599c991c8e694d40d5e626485c221 (diff)
downloadports-f9bbcde644924308cebb340977bcd2a55733ff89.tar.gz
ports-f9bbcde644924308cebb340977bcd2a55733ff89.zip
Notes
Diffstat (limited to 'graphics')
-rw-r--r--graphics/poppler/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/graphics/poppler/Makefile b/graphics/poppler/Makefile
index c95c6361d089..227283129c63 100644
--- a/graphics/poppler/Makefile
+++ b/graphics/poppler/Makefile
@@ -103,6 +103,9 @@ LIB_DEPENDS+= openjpeg.2:${PORTSDIR}/graphics/openjpeg
.endif
post-patch:
+.if ${CXX:M*clang*} && ${CXXFLAGS:M-stdlib=libc++}
+ @${REINPLACE_CMD} '/CXXFLAGS.*-ansi/d' ${WRKSRC}/configure
+.endif
@${REINPLACE_CMD} -e 's|-version-info 19:0:0|-version-info 18:0:0|g' \
${WRKSRC}/poppler/Makefile.in
.if defined(SLAVEPORT) && ${SLAVEPORT}=="qt4"