summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2014-07-26 08:16:36 +0000
committeradam <adam@pkgsrc.org>2014-07-26 08:16:36 +0000
commitf30680653340fc78f456a0714ecd99aa676c1d4e (patch)
tree42f2b6225032424a1cc4a152afb0da43d99768d5 /print
parentb97923baef9237b3d4c754fcb3580b98870367ca (diff)
downloadpkgsrc-f30680653340fc78f456a0714ecd99aa676c1d4e.tar.gz
Fix for Clang, which does not known -fno-check-new option
Diffstat (limited to 'print')
-rw-r--r--print/poppler/Makefile.common7
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