diff --git a/net/gpsd/Portfile b/net/gpsd/Portfile index 6d80194b9af..7358e452506 100644 --- a/net/gpsd/Portfile +++ b/net/gpsd/Portfile @@ -4,7 +4,7 @@ PortSystem 1.0 name gpsd version 3.27.5 -revision 0 +revision 1 categories net license BSD maintainers {michaelld @michaelld} \ @@ -81,6 +81,11 @@ pre-fetch { } } +# Avoid building webpages that we won't install, anyway. +# Aside from saving time, this avoids a mysterious new problem +# with the 'dia' program and compressed input. +patchfiles-append patch-no-www.diff + set pyver_dotted [dotted_ver ${pyver_no_dot}] # NOTE: All Python dependencies which are conceptually depends_run actually diff --git a/net/gpsd/files/patch-no-www.diff b/net/gpsd/files/patch-no-www.diff new file mode 100644 index 00000000000..6e22e75ec6d --- /dev/null +++ b/net/gpsd/files/patch-no-www.diff @@ -0,0 +1,32 @@ +--- SConscript.orig 2025-12-30 14:16:31.000000000 -0800 ++++ SConscript 2026-04-25 15:56:19.000000000 -0700 +@@ -2215,7 +2215,6 @@ python_misc = [ + "tests/test_clienthelpers.py", + "tests/test_misc.py", + "tests/test_xgps_deps.py", +- "www/gpscap.py", + "valgrind-audit.py" + ] + +@@ -2409,13 +2408,6 @@ templated = { + "systemd/gpsdctl@.service": "systemd/gpsdctl@.service.in", + "systemd/gpsd.service": "systemd/gpsd.service.in", + "systemd/gpsd.socket": "systemd/gpsd.socket.in", +- "www/faq.html": "www/faq.html.in", +- "www/gps_report.cgi": "www/gps_report.cgi.in", +- "www/gpscap.py": "www/gpscap.py.in", +- "www/hacking.html": "www/hacking.html.in", +- "www/hardware-head.html": "www/hardware-head.html.in", +- "www/index.html": "www/index.html.in", +- "www/troubleshooting.html": "www/troubleshooting.html.in", + } + + for (tgt, src) in templated.items(): +@@ -2625,7 +2617,6 @@ build_src = [ + mib_files, + packing, + sbin_binaries, +- webpages, + ] + + if env['python']: