summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorjoerg <joerg>2013-06-10 18:57:55 +0000
committerjoerg <joerg>2013-06-10 18:57:55 +0000
commitabe6ecd141c0720f97c5bff17eede3fa8a533372 (patch)
treedf016f15a85c1438bcfc96112fbb43e1c366a6aa /net
parentd140fcffa0a08aa7c8c49b63c5394a9a42a25595 (diff)
downloadpkgsrc-abe6ecd141c0720f97c5bff17eede3fa8a533372.tar.gz
Ignore non-literal format strings like GCC does for Clang.
The introspection stuff is trying to build a temporary file that violates this and removes it before it can be investigated...
Diffstat (limited to 'net')
-rw-r--r--net/libsoup24/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/net/libsoup24/Makefile b/net/libsoup24/Makefile
index b391affb330..7cbc72786a0 100644
--- a/net/libsoup24/Makefile
+++ b/net/libsoup24/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.55 2013/06/10 08:35:59 obache Exp $
+# $NetBSD: Makefile,v 1.56 2013/06/10 18:57:55 joerg Exp $
DISTNAME= libsoup-2.42.2
PKGNAME= ${DISTNAME:S/libsoup/libsoup24/}
@@ -33,6 +33,10 @@ TEST_TARGET= check
CONFIGURE_ARGS+= --disable-more-warnings
.endif
+.if !empty(PKGSRC_COMPILER:Mclang)
+_WRAP_EXTRA_ARGS.CC+= -Wno-error=format-nonliteral
+.endif
+
REPLACE_PYTHON= libsoup/tld-parser.py
PYTHON_FOR_BUILD_ONLY= yes
.include "../../lang/python/application.mk"