summaryrefslogtreecommitdiff
path: root/graphics/gtkimageview
diff options
context:
space:
mode:
authorjoerg <joerg>2013-12-14 17:09:27 +0000
committerjoerg <joerg>2013-12-14 17:09:27 +0000
commit5ce61af92b5630cc8056f18ce66fa25ab5b3ecad (patch)
treec5bf8b88949612c8c17e2b1058110c2f908776e1 /graphics/gtkimageview
parentb93c2b0e60a2a13e5dfbcf131ef1e309935ca875 (diff)
downloadpkgsrc-5ce61af92b5630cc8056f18ce66fa25ab5b3ecad.tar.gz
Don't fail on unused functions with Clang.
Diffstat (limited to 'graphics/gtkimageview')
-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"