| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.15 2020/10/16 11:46:39 rin Exp $ | | 1 | # $NetBSD: Makefile,v 1.16 2021/05/10 09:25:10 rin Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | DISTNAME= acpica-unix2-20160930 | | 4 | DISTNAME= acpica-unix2-20160930 |
5 | PKGNAME= ${DISTNAME:S/-unix2-/-utils-/} | | 5 | PKGNAME= ${DISTNAME:S/-unix2-/-utils-/} |
6 | PKGREVISION= 1 | | 6 | PKGREVISION= 1 |
7 | CATEGORIES= sysutils devel | | 7 | CATEGORIES= sysutils devel |
8 | MASTER_SITES= https://acpica.org/sites/acpica/files/ | | 8 | MASTER_SITES= https://acpica.org/sites/acpica/files/ |
9 | | | 9 | |
10 | MAINTAINER= pkgsrc-users@NetBSD.org | | 10 | MAINTAINER= pkgsrc-users@NetBSD.org |
11 | HOMEPAGE= https://www.acpica.org/ | | 11 | HOMEPAGE= https://www.acpica.org/ |
12 | COMMENT= Intel ACPI CA Unix utilities | | 12 | COMMENT= Intel ACPI CA Unix utilities |
13 | LICENSE= modified-bsd OR gnu-gpl-v2 | | 13 | LICENSE= modified-bsd OR gnu-gpl-v2 |
14 | | | 14 | |
| @@ -49,15 +49,20 @@ do-test: | | | @@ -49,15 +49,20 @@ do-test: |
49 | # This test is broken too | | 49 | # This test is broken too |
50 | # cd ${WRKSRC}/tests/templates && gmake | | 50 | # cd ${WRKSRC}/tests/templates && gmake |
51 | | | 51 | |
52 | .include "../../mk/compiler.mk" | | 52 | .include "../../mk/compiler.mk" |
53 | | | 53 | |
54 | # XXX | | 54 | # XXX |
55 | .if !empty(CC_VERSION:Mgcc-[89]*) | | 55 | .if !empty(CC_VERSION:Mgcc-[89]*) |
56 | CFLAGS+= -Wno-error=format-truncation | | 56 | CFLAGS+= -Wno-error=format-truncation |
57 | .endif | | 57 | .endif |
58 | .if !empty(CC_VERSION:Mgcc-9*) | | 58 | .if !empty(CC_VERSION:Mgcc-9*) |
59 | CFLAGS+= -Wno-error=format-overflow \ | | 59 | CFLAGS+= -Wno-error=format-overflow \ |
60 | -Wno-error=stringop-truncation | | 60 | -Wno-error=stringop-truncation |
61 | .endif | | 61 | .endif |
| | | 62 | .if !empty(CC_VERSION:Mgcc-10*) |
| | | 63 | CFLAGS+= -Wno-error=format-overflow \ |
| | | 64 | -Wno-error=format-truncation \ |
| | | 65 | -Wno-error=stringop-truncation |
| | | 66 | .endif |
62 | | | 67 | |
63 | .include "../../mk/bsd.pkg.mk" | | 68 | .include "../../mk/bsd.pkg.mk" |