| @@ -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 | |
4 | DISTNAME= json-c-0.10 | | 4 | DISTNAME= json-c-0.10 |
5 | CATEGORIES= textproc | | 5 | CATEGORIES= textproc |
6 | MASTER_SITES= https://github.com/downloads/json-c/json-c/ | | 6 | MASTER_SITES= https://github.com/downloads/json-c/json-c/ |
7 | | | 7 | |
8 | MAINTAINER= ryoon@NetBSD.org | | 8 | MAINTAINER= ryoon@NetBSD.org |
9 | HOMEPAGE= https://github.com/json-c/json-c/wiki | | 9 | HOMEPAGE= https://github.com/json-c/json-c/wiki |
10 | COMMENT= JSON library in C | | 10 | COMMENT= JSON library in C |
11 | LICENSE= mit | | 11 | LICENSE= 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. |
15 | FETCH_USING= curl | | 15 | FETCH_USING= curl |
16 | | | 16 | |
17 | GNU_CONFIGURE= yes | | 17 | GNU_CONFIGURE= yes |
18 | USE_LIBTOOL= yes | | 18 | USE_LIBTOOL= yes |
19 | USE_TOOLS+= pkg-config | | 19 | USE_TOOLS+= pkg-config |
20 | | | 20 | |
21 | PKGCONFIG_OVERRIDE+= json.pc.in | | 21 | PKGCONFIG_OVERRIDE+= json.pc.in |
22 | | | 22 | |
| | | 23 | .include "../../mk/compiler.mk" |
| | | 24 | .if !empty(PKGSRC_COMPILER:Mclang) |
| | | 25 | CFLAGS+= -Wno-tautological-compare -Wno-unused-value |
| | | 26 | .endif |
| | | 27 | |
23 | .include "../../mk/bsd.pkg.mk" | | 28 | .include "../../mk/bsd.pkg.mk" |