summaryrefslogtreecommitdiff
path: root/net/glib-networking
diff options
context:
space:
mode:
authorjoerg <joerg>2012-12-20 22:53:11 +0000
committerjoerg <joerg>2012-12-20 22:53:11 +0000
commiteff98f3cb538fc83a9737ee286453930fe705066 (patch)
treeed9f42e45b885d0ab17770048a3b07501aab6c58 /net/glib-networking
parentb46c6febef81c743ac680a85ad4c857c6948a1cf (diff)
downloadpkgsrc-eff98f3cb538fc83a9737ee286453930fe705066.tar.gz
Disable Clang's stricter non-literal format string warning.
Diffstat (limited to 'net/glib-networking')
-rw-r--r--net/glib-networking/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/net/glib-networking/Makefile b/net/glib-networking/Makefile
index eaae2463263..6f8fccafc68 100644
--- a/net/glib-networking/Makefile
+++ b/net/glib-networking/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2012/11/15 14:49:15 drochner Exp $
+# $NetBSD: Makefile,v 1.18 2012/12/20 22:53:11 joerg Exp $
#
DISTNAME= glib-networking-2.34.2
@@ -22,6 +22,10 @@ USE_TOOLS+= intltool pkg-config gmake gettext
CONFIGURE_ARGS+= --disable-more-warnings
.endif
+.if !empty(PKGSRC_COMPILER:Mclang)
+_WRAP_EXTRA_ARGS.CC+= -Wno-error=format-nonliteral
+.endif
+
BUILDLINK_API_DEPENDS.glib2+= glib2>=2.32.1
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/glib2/modules.mk"