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...
This commit is contained in:
joerg 2013-06-10 18:57:55 +00:00
parent 7f2993e917
commit 0456b6134b

View file

@ -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"