| @@ -1,33 +1,31 @@ | | | @@ -1,33 +1,31 @@ |
1 | # $NetBSD: Makefile,v 1.89 2020/04/20 22:54:53 mef Exp $ | | 1 | # $NetBSD: Makefile,v 1.90 2020/06/01 06:09:42 rillig Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | DISTNAME= xlog-2.0.19 | | 4 | DISTNAME= xlog-2.0.19 |
5 | CATEGORIES= ham | | 5 | CATEGORIES= ham |
6 | MASTER_SITES= http://download.savannah.gnu.org/releases/xlog/ | | 6 | MASTER_SITES= http://download.savannah.gnu.org/releases/xlog/ |
7 | LICENSE= gnu-gpl-v3 | | 7 | LICENSE= gnu-gpl-v3 |
8 | | | 8 | |
9 | MAINTAINER= pkgsrc-users@NetBSD.org | | 9 | MAINTAINER= pkgsrc-users@NetBSD.org |
10 | HOMEPAGE= https://www.nongnu.org/xlog/ | | 10 | HOMEPAGE= https://www.nongnu.org/xlog/ |
11 | COMMENT= Amateur Radio logging program | | 11 | COMMENT= Amateur Radio logging program |
12 | | | 12 | |
13 | DEPENDS+= xdg-utils-[0-9]*:../../misc/xdg-utils | | 13 | DEPENDS+= xdg-utils-[0-9]*:../../misc/xdg-utils |
14 | | | 14 | |
15 | GNU_CONFIGURE= yes | | 15 | GNU_CONFIGURE= yes |
16 | USE_PKGLOCALEDIR= yes | | 16 | USE_PKGLOCALEDIR= yes |
17 | USE_TOOLS+= gmake pkg-config | | 17 | USE_TOOLS+= gmake pkg-config |
18 | | | 18 | |
19 | CONFIGURE_ARGS+= --enable-hamlib | | | |
20 | | | | |
21 | .include "../../mk/compiler.mk" | | 19 | .include "../../mk/compiler.mk" |
22 | .if !empty(PKGSRC_COMPILER:Mclang) | | 20 | .if !empty(PKGSRC_COMPILER:Mclang) |
23 | BUILDLINK_TRANSFORM+= rm:-Wno-unused-but-set-variable | | 21 | BUILDLINK_TRANSFORM+= rm:-Wno-unused-but-set-variable |
24 | _WRAP_EXTRA_ARGS.CC+= -Wno-error=parentheses-equality -Wno-error=tautological-compare -Wno-unknown-warning-option -Wno-deprecated-declarations | | 22 | _WRAP_EXTRA_ARGS.CC+= -Wno-error=parentheses-equality -Wno-error=tautological-compare -Wno-unknown-warning-option -Wno-deprecated-declarations |
25 | CWRAPPERS_APPEND.cc+= -Wno-error=parentheses-equality -Wno-error=tautological-compare -Wno-unknown-warning-option -Wno-deprecated-declarations | | 23 | CWRAPPERS_APPEND.cc+= -Wno-error=parentheses-equality -Wno-error=tautological-compare -Wno-unknown-warning-option -Wno-deprecated-declarations |
26 | .endif | | 24 | .endif |
27 | | | 25 | |
28 | # Problematic with 5.5.0 on netbsd-8. | | 26 | # Problematic with 5.5.0 on netbsd-8. |
29 | .if !empty(PKGSRC_COMPILER:Mgcc) | | 27 | .if !empty(PKGSRC_COMPILER:Mgcc) |
30 | BUILDLINK_TRANSFORM+= rm:-Wno-stringop-truncation | | 28 | BUILDLINK_TRANSFORM+= rm:-Wno-stringop-truncation |
31 | .endif | | 29 | .endif |
32 | | | 30 | |
33 | # Work around https://savannah.nongnu.org/bugs/index.php?57920 | | 31 | # Work around https://savannah.nongnu.org/bugs/index.php?57920 |