summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorjoerg <joerg>2013-12-14 17:09:27 +0000
committerjoerg <joerg>2013-12-14 17:09:27 +0000
commit12e823dbe34bf4888810719db13ad926ed194906 (patch)
treec5bf8b88949612c8c17e2b1058110c2f908776e1 /graphics
parentc18c57a3b4f895832cd69b0a216841c1b6ebc233 (diff)
downloadpkgsrc-12e823dbe34bf4888810719db13ad926ed194906.tar.gz
Don't fail on unused functions with Clang.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/gtkimageview/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/graphics/gtkimageview/Makefile b/graphics/gtkimageview/Makefile
index 5d5690681de..83250064580 100644
--- a/graphics/gtkimageview/Makefile
+++ b/graphics/gtkimageview/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2013/10/10 14:42:15 ryoon Exp $
+# $NetBSD: Makefile,v 1.30 2013/12/14 17:09:27 joerg Exp $
DISTNAME= gtkimageview-1.6.4
PKGREVISION= 19
@@ -27,4 +27,9 @@ TEST_TARGET= check
.include "../../devel/pango/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
+.include "../../mk/compiler.mk"
+.if !empty(PKGSRC_COMPILER:Mclang)
+_WRAP_EXTRA_ARGS.CC+= -Wno-error=unused-function
+.endif
+
.include "../../mk/bsd.pkg.mk"