diff options
author | adam <adam@pkgsrc.org> | 2014-07-26 08:16:36 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2014-07-26 08:16:36 +0000 |
commit | f30680653340fc78f456a0714ecd99aa676c1d4e (patch) | |
tree | 42f2b6225032424a1cc4a152afb0da43d99768d5 /print/poppler | |
parent | b97923baef9237b3d4c754fcb3580b98870367ca (diff) | |
download | pkgsrc-f30680653340fc78f456a0714ecd99aa676c1d4e.tar.gz |
Fix for Clang, which does not known -fno-check-new option
Diffstat (limited to 'print/poppler')
-rw-r--r-- | print/poppler/Makefile.common | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/print/poppler/Makefile.common b/print/poppler/Makefile.common index 1a8def3243f..6d20d45a8a8 100644 --- a/print/poppler/Makefile.common +++ b/print/poppler/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.67 2014/07/22 12:22:39 wiz Exp $ +# $NetBSD: Makefile.common,v 1.68 2014/07/26 08:16:36 adam Exp $ # # used by print/poppler/Makefile # used by print/poppler-cpp/Makefile @@ -26,3 +26,8 @@ USE_LANGUAGES= c c++ # Don't accidentally find libtiff CONFIGURE_ARGS+= --disable-libtiff + +.include "../../mk/compiler.mk" +.if !empty(PKGSRC_COMPILER:Mclang) +BUILDLINK_TRANSFORM+= rm:-fno-check-new +.endif |