diff options
author | mezz <mezz@FreeBSD.org> | 2012-03-14 23:27:44 +0800 |
---|---|---|
committer | mezz <mezz@FreeBSD.org> | 2012-03-14 23:27:44 +0800 |
commit | dea5d57deb27cb55135947e71191b8bacf37e371 (patch) | |
tree | 606daf1d1f132ea159cc4a30b3c735d51aff4db8 /graphics | |
parent | c8162ff3a8f4a9676b492abb0d0d8ae5b65c45c4 (diff) | |
download | freebsd-ports-gnome-dea5d57deb27cb55135947e71191b8bacf37e371.tar.gz freebsd-ports-gnome-dea5d57deb27cb55135947e71191b8bacf37e371.tar.zst freebsd-ports-gnome-dea5d57deb27cb55135947e71191b8bacf37e371.zip |
Fix the build with clang.
PR: ports/163443
Submitted by: Jan Beich <jbeich@tormail.net>
Feature safe: yes
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/poppler/Makefile | 3 |
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" |