pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/www/w3m
Module Name: pkgsrc
Committed By: gutteridge
Date: Sat Jan 31 19:00:15 UTC 2026
Modified Files:
pkgsrc/www/w3m: Makefile.common
Log Message:
w3m: fix "-Wstring-compare" build issue more simply
Use BUILDLINK_TRANSFORM instead. Tested on NetBSD 9.4_STABLE.
To generate a diff of this commit:
cvs rdiff -u -r1.86 -r1.87 pkgsrc/www/w3m/Makefile.common
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/www/w3m/Makefile.common
diff -u pkgsrc/www/w3m/Makefile.common:1.86 pkgsrc/www/w3m/Makefile.common:1.87
--- pkgsrc/www/w3m/Makefile.common:1.86 Sat Jan 31 17:28:48 2026
+++ pkgsrc/www/w3m/Makefile.common Sat Jan 31 19:00:15 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.86 2026/01/31 17:28:48 wiz Exp $
+# $NetBSD: Makefile.common,v 1.87 2026/01/31 19:00:15 gutteridge Exp $
#
# used by www/w3m/Makefile
# used by www/w3m-img/Makefile
@@ -25,10 +25,6 @@ WRKSRC= ${WRKDIR}/w3m-v${PKGVERSION_NOR
# needs strcasecmp, ISO C unacceptable on illumos
FORCE_C_STD= gnu99
-# gcc: error: unrecognized command line option '-Wstring-compare'
-# That option is available >= 10.0
-GCC_REQD+= 10
-
# For w3mman, xface2xpm, cgi scripts.
USE_TOOLS+= perl:run pax pkg-config
@@ -40,8 +36,10 @@ _W3M_USE_IMAGE?= NO
.include "../../mk/bsd.prefs.mk"
-# not supported by gcc 5
+# not supported by GCC 5
BUILDLINK_TRANSFORM+= rm:-Wnull-dereference
+# not supported by GCC < 10
+BUILDLINK_TRANSFORM+= rm:-Wstring-compare
# Configurable by environment variables at run-time.
CONFIGURE_ARGS+= --with-charset=US-ASCII
Home |
Main Index |
Thread Index |
Old Index