diff options
author | joerg <joerg@pkgsrc.org> | 2013-06-10 18:57:55 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2013-06-10 18:57:55 +0000 |
commit | 0456b6134b1f7a965c783049b0ac0b7dfdc0e0ed (patch) | |
tree | df016f15a85c1438bcfc96112fbb43e1c366a6aa | |
parent | 7f2993e917b0e6a7da8a6cb56917e345500a88dd (diff) | |
download | pkgsrc-0456b6134b1f7a965c783049b0ac0b7dfdc0e0ed.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...
-rw-r--r-- | net/libsoup24/Makefile | 6 |
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" |