summaryrefslogtreecommitdiff
path: root/print/poppler
diff options
context:
space:
mode:
authoradam <adam>2014-07-26 08:16:36 +0000
committeradam <adam>2014-07-26 08:16:36 +0000
commit565334d2c5663ce49718aa5bfb3d051ebbf127ec (patch)
tree42f2b6225032424a1cc4a152afb0da43d99768d5 /print/poppler
parenta78fd5aac7b553fbf167a41fb3c8c6a4b84621d5 (diff)
downloadpkgsrc-565334d2c5663ce49718aa5bfb3d051ebbf127ec.tar.gz
Fix for Clang, which does not known -fno-check-new option
Diffstat (limited to 'print/poppler')
-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