Sat Aug 13 11:27:56 2022 UTC ()
w3m: remove -Wnull_reference to fix build with gcc5 (NetBSD 8)


(wiz)
diff -r1.73 -r1.74 pkgsrc/www/w3m/Makefile.common

cvs diff -r1.73 -r1.74 pkgsrc/www/w3m/Makefile.common (expand / switch to unified diff)

--- pkgsrc/www/w3m/Makefile.common 2022/07/25 08:54:29 1.73
+++ pkgsrc/www/w3m/Makefile.common 2022/08/13 11:27:56 1.74
@@ -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
6DISTNAME= w3m-${W3M_VERS} 6DISTNAME= w3m-${W3M_VERS}
7CATEGORIES= www 7CATEGORIES= www
8MASTER_SITES= ${MASTER_SITE_GITHUB:=tats/} 8MASTER_SITES= ${MASTER_SITE_GITHUB:=tats/}
9GITHUB_TAG= v${W3M_VERS} 9GITHUB_TAG= v${W3M_VERS}
10 10
11MAINTAINER= uebayasi@NetBSD.org 11MAINTAINER= uebayasi@NetBSD.org
12HOMEPAGE= http://w3m.sourceforge.net/ 12HOMEPAGE= 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
25W3M_PKGVERS= ${W3M_VERS:S/+git/.0./} 25W3M_PKGVERS= ${W3M_VERS:S/+git/.0./}
26 26
27# For w3mman, xface2xpm, cgi scripts. 27# For w3mman, xface2xpm, cgi scripts.
28USE_TOOLS+= perl:run pax 28USE_TOOLS+= perl:run pax
29 29
30DOCDIR= share/doc/w3m 30DOCDIR= 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
 39BUILDLINK_TRANSFORM+= rm:-Wnull-dereference
 40
38# Configurable by environment variables at run-time. 41# Configurable by environment variables at run-time.
39CONFIGURE_ARGS+= --with-charset=US-ASCII 42CONFIGURE_ARGS+= --with-charset=US-ASCII
40 43
41# This *should* be set at run-time. 44# This *should* be set at run-time.
42CONFIGURE_ARGS+= --disable-messagel10n 45CONFIGURE_ARGS+= --disable-messagel10n
43 46
44CONFIGURE_ARGS+= --disable-help_cgi 47CONFIGURE_ARGS+= --disable-help_cgi
45CONFIGURE_ARGS+= --enable-color 48CONFIGURE_ARGS+= --enable-color
46CONFIGURE_ARGS+= --enable-cookie 49CONFIGURE_ARGS+= --enable-cookie
47CONFIGURE_ARGS+= --enable-m17n 50CONFIGURE_ARGS+= --enable-m17n
48CONFIGURE_ARGS+= --enable-mouse 51CONFIGURE_ARGS+= --enable-mouse
49CONFIGURE_ARGS+= --enable-unicode 52CONFIGURE_ARGS+= --enable-unicode
50CONFIGURE_ARGS+= --with-browser= 53CONFIGURE_ARGS+= --with-browser=