| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile.common,v 1.73 2022/07/25 08:54:29 rin Exp $ | | 1 | # $NetBSD: Makefile.common,v 1.74 2022/08/13 11:27:56 wiz Exp $ |
2 | # | | 2 | # |
3 | # used by www/w3m/Makefile | | 3 | # used by www/w3m/Makefile |
4 | # used by www/w3m-img/Makefile | | 4 | # used by www/w3m-img/Makefile |
5 | | | 5 | |
6 | DISTNAME= w3m-${W3M_VERS} | | 6 | DISTNAME= w3m-${W3M_VERS} |
7 | CATEGORIES= www | | 7 | CATEGORIES= www |
8 | MASTER_SITES= ${MASTER_SITE_GITHUB:=tats/} | | 8 | MASTER_SITES= ${MASTER_SITE_GITHUB:=tats/} |
9 | GITHUB_TAG= v${W3M_VERS} | | 9 | GITHUB_TAG= v${W3M_VERS} |
10 | | | 10 | |
11 | MAINTAINER= uebayasi@NetBSD.org | | 11 | MAINTAINER= uebayasi@NetBSD.org |
12 | HOMEPAGE= http://w3m.sourceforge.net/ | | 12 | HOMEPAGE= http://w3m.sourceforge.net/ |
13 | # or https://github.com/tats/w3m | | 13 | # or https://github.com/tats/w3m |
14 | # or https://packages.qa.debian.org/w/w3m.html | | 14 | # or https://packages.qa.debian.org/w/w3m.html |
| @@ -25,26 +25,29 @@ W3M_VERS= 0.5.3+git20220429 | | | @@ -25,26 +25,29 @@ W3M_VERS= 0.5.3+git20220429 |
25 | W3M_PKGVERS= ${W3M_VERS:S/+git/.0./} | | 25 | W3M_PKGVERS= ${W3M_VERS:S/+git/.0./} |
26 | | | 26 | |
27 | # For w3mman, xface2xpm, cgi scripts. | | 27 | # For w3mman, xface2xpm, cgi scripts. |
28 | USE_TOOLS+= perl:run pax | | 28 | USE_TOOLS+= perl:run pax |
29 | | | 29 | |
30 | DOCDIR= share/doc/w3m | | 30 | DOCDIR= share/doc/w3m |
31 | | | 31 | |
32 | _W3M_USE_IMAGE?= NO | | 32 | _W3M_USE_IMAGE?= NO |
33 | | | 33 | |
34 | .include "options.mk" | | 34 | .include "options.mk" |
35 | | | 35 | |
36 | .include "../../mk/bsd.prefs.mk" | | 36 | .include "../../mk/bsd.prefs.mk" |
37 | | | 37 | |
| | | 38 | # not supported by gcc 5 |
| | | 39 | BUILDLINK_TRANSFORM+= rm:-Wnull-dereference |
| | | 40 | |
38 | # Configurable by environment variables at run-time. | | 41 | # Configurable by environment variables at run-time. |
39 | CONFIGURE_ARGS+= --with-charset=US-ASCII | | 42 | CONFIGURE_ARGS+= --with-charset=US-ASCII |
40 | | | 43 | |
41 | # This *should* be set at run-time. | | 44 | # This *should* be set at run-time. |
42 | CONFIGURE_ARGS+= --disable-messagel10n | | 45 | CONFIGURE_ARGS+= --disable-messagel10n |
43 | | | 46 | |
44 | CONFIGURE_ARGS+= --disable-help_cgi | | 47 | CONFIGURE_ARGS+= --disable-help_cgi |
45 | CONFIGURE_ARGS+= --enable-color | | 48 | CONFIGURE_ARGS+= --enable-color |
46 | CONFIGURE_ARGS+= --enable-cookie | | 49 | CONFIGURE_ARGS+= --enable-cookie |
47 | CONFIGURE_ARGS+= --enable-m17n | | 50 | CONFIGURE_ARGS+= --enable-m17n |
48 | CONFIGURE_ARGS+= --enable-mouse | | 51 | CONFIGURE_ARGS+= --enable-mouse |
49 | CONFIGURE_ARGS+= --enable-unicode | | 52 | CONFIGURE_ARGS+= --enable-unicode |
50 | CONFIGURE_ARGS+= --with-browser= | | 53 | CONFIGURE_ARGS+= --with-browser= |