summaryrefslogtreecommitdiff
path: root/graphics/gtkimageview
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2013-12-14 17:09:27 +0000
committerjoerg <joerg@pkgsrc.org>2013-12-14 17:09:27 +0000
commit636914e215e429f6fe77125e4fa283d174d2fc45 (patch)
treec5bf8b88949612c8c17e2b1058110c2f908776e1 /graphics/gtkimageview
parent4f3c26e9b15ddd16c4ae3e8e83484d0449db2b0f (diff)
downloadpkgsrc-636914e215e429f6fe77125e4fa283d174d2fc45.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"