Fri Oct 26 20:16:44 2012 UTC ()
Disable two warnings for Clang to unbreak -Werror.


(joerg)
diff -r1.1 -r1.2 pkgsrc/textproc/json-c/Makefile

cvs diff -r1.1 -r1.2 pkgsrc/textproc/json-c/Makefile (expand / switch to unified diff)

--- pkgsrc/textproc/json-c/Makefile 2012/10/11 15:40:40 1.1
+++ pkgsrc/textproc/json-c/Makefile 2012/10/26 20:16:44 1.2
@@ -1,23 +1,28 @@ @@ -1,23 +1,28 @@
1# $NetBSD: Makefile,v 1.1 2012/10/11 15:40:40 ryoon Exp $ 1# $NetBSD: Makefile,v 1.2 2012/10/26 20:16:44 joerg Exp $
2# 2#
3 3
4DISTNAME= json-c-0.10 4DISTNAME= json-c-0.10
5CATEGORIES= textproc 5CATEGORIES= textproc
6MASTER_SITES= https://github.com/downloads/json-c/json-c/ 6MASTER_SITES= https://github.com/downloads/json-c/json-c/
7 7
8MAINTAINER= ryoon@NetBSD.org 8MAINTAINER= ryoon@NetBSD.org
9HOMEPAGE= https://github.com/json-c/json-c/wiki 9HOMEPAGE= https://github.com/json-c/json-c/wiki
10COMMENT= JSON library in C 10COMMENT= JSON library in C
11LICENSE= mit 11LICENSE= mit
12 12
13# Force using "curl" for fetching the distribution file. It is only available 13# Force using "curl" for fetching the distribution file. It is only available
14# over HTTPS and "curl" is the only fetch program which always supports HTTPS. 14# over HTTPS and "curl" is the only fetch program which always supports HTTPS.
15FETCH_USING= curl 15FETCH_USING= curl
16 16
17GNU_CONFIGURE= yes 17GNU_CONFIGURE= yes
18USE_LIBTOOL= yes 18USE_LIBTOOL= yes
19USE_TOOLS+= pkg-config 19USE_TOOLS+= pkg-config
20 20
21PKGCONFIG_OVERRIDE+= json.pc.in 21PKGCONFIG_OVERRIDE+= json.pc.in
22 22
 23.include "../../mk/compiler.mk"
 24.if !empty(PKGSRC_COMPILER:Mclang)
 25CFLAGS+= -Wno-tautological-compare -Wno-unused-value
 26.endif
 27
23.include "../../mk/bsd.pkg.mk" 28.include "../../mk/bsd.pkg.mk"