| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.14 2020/03/22 12:24:58 rillig Exp $ | | 1 | # $NetBSD: Makefile,v 1.15 2020/10/16 11:46:39 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 | |
| @@ -41,18 +41,23 @@ do-test: | | | @@ -41,18 +41,23 @@ do-test: |
41 | cd ${WRKSRC}/tests && ./aslts.sh -u | | 41 | cd ${WRKSRC}/tests && ./aslts.sh -u |
42 | ## API tests | | 42 | ## API tests |
43 | cd ${WRKSRC}/tests/aapits && gmake | | 43 | cd ${WRKSRC}/tests/aapits && gmake |
44 | cd ${WRKSRC}/tests/aapits/asl && \ | | 44 | cd ${WRKSRC}/tests/aapits/asl && \ |
45 | ASL=${WRKSRC}/generate/unix/bin/iasl gmake | | 45 | ASL=${WRKSRC}/generate/unix/bin/iasl gmake |
46 | # This one needs to be fixed | | 46 | # This one needs to be fixed |
47 | # cd ${WRKSRC}/tests/aapits/bin && ./aapitsrun | | 47 | # cd ${WRKSRC}/tests/aapits/bin && ./aapitsrun |
48 | ## Template tests | | 48 | ## Template tests |
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 | .if !empty(CC_VERSION:Mgcc-[89]*) | | 55 | .if !empty(CC_VERSION:Mgcc-[89]*) |
55 | CFLAGS+= -Wno-error=format-truncation | | 56 | CFLAGS+= -Wno-error=format-truncation |
56 | .endif | | 57 | .endif |
| | | 58 | .if !empty(CC_VERSION:Mgcc-9*) |
| | | 59 | CFLAGS+= -Wno-error=format-overflow \ |
| | | 60 | -Wno-error=stringop-truncation |
| | | 61 | .endif |
57 | | | 62 | |
58 | .include "../../mk/bsd.pkg.mk" | | 63 | .include "../../mk/bsd.pkg.mk" |