summaryrefslogtreecommitdiff
path: root/geography/gpsd
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2022-11-14 14:07:34 +0000
committergdt <gdt@pkgsrc.org>2022-11-14 14:07:34 +0000
commitb2cf76d94b8530073c505dfb2804834d93d6017c (patch)
treecb5be7bc446ec4773b2cde95af28e306932f7b5d /geography/gpsd
parenta84420c9f045c262d71d8fe6f55daca8bf4b79b8 (diff)
downloadpkgsrc-b2cf76d94b8530073c505dfb2804834d93d6017c.tar.gz
geography/gpsd: Catch up with ruby version changes
The pathname of asciidoctor changes when pkgsrc changes the default ruby version. Upstream gpsd has code to look for asciidoctorNN for several NN, but not 31. However, pkg_alternatives provides asciidoctor which is found, making this not noticeable when building on normal systems -- but of course bulk builds failed.
Diffstat (limited to 'geography/gpsd')
-rw-r--r--geography/gpsd/distinfo4
-rw-r--r--geography/gpsd/patches/patch-SConscript23
2 files changed, 22 insertions, 5 deletions
diff --git a/geography/gpsd/distinfo b/geography/gpsd/distinfo
index cb0557ad6bd..25b72f43e3e 100644
--- a/geography/gpsd/distinfo
+++ b/geography/gpsd/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.36 2022/04/28 11:43:14 gdt Exp $
+$NetBSD: distinfo,v 1.37 2022/11/14 14:07:34 gdt Exp $
BLAKE2s (gpsd-3.24.tar.gz) = daaca7f934b778990bcb35882cfcb42c62b253137324d547febed2df5ed6bdf2
SHA512 (gpsd-3.24.tar.gz) = 250bae709e19ac10421d5a537e68dcdf4c025071c152cf3c84a2f6977615bd7e445a45f3b1e5f3b64123fad3c11e1ec256bae5afc1b869f499b187116f8b028b
Size (gpsd-3.24.tar.gz) = 5152429 bytes
-SHA1 (patch-SConscript) = 5d042bb9d6547c7f78ea8f37b1d12963d49584b6
+SHA1 (patch-SConscript) = 15d5e056b283ab3cf3ae2a35e43e17440372f71e
diff --git a/geography/gpsd/patches/patch-SConscript b/geography/gpsd/patches/patch-SConscript
index b6eb5e69cf2..2d70f1737df 100644
--- a/geography/gpsd/patches/patch-SConscript
+++ b/geography/gpsd/patches/patch-SConscript
@@ -1,11 +1,28 @@
-$NetBSD: patch-SConscript,v 1.6 2022/04/28 11:43:15 gdt Exp $
+$NetBSD: patch-SConscript,v 1.7 2022/11/14 14:07:34 gdt Exp $
+
+Catch up with ruby default version changes.
+\todo Fix upstream.
gpspipe requires libgpsd for serial.c cfmakeraw() compat.
\todo Fix upstream?
---- SConscript.orig 2021-09-21 21:53:44.000000000 +0000
+--- SConscript.orig 2022-04-27 21:31:21.000000000 +0000
+++ SConscript
-@@ -1930,7 +1930,7 @@ gpsmon = env.Program('gpsmon/gpsmon', gp
+@@ -1380,9 +1380,11 @@ if not cleaning and not helping:
+ # do we have asciidoctor, perhaps versioned?
+ adoc_prog = env.WhereIs('asciidoctor')
+ if (not adoc_prog):
+- adoc_prog = env.WhereIs('asciidoctor27')
++ adoc_prog = env.WhereIs('asciidoctor31')
++ if (not adoc_prog):
++ adoc_prog = env.WhereIs('asciidoctor30')
+ if (not adoc_prog):
+- adoc_prog = env.WhereIs('asciidoctor26')
++ adoc_prog = env.WhereIs('asciidoctor27')
+
+ config.env['manbuild'] = config.env['manbuild'].lower()
+ if ((not config.env['manbuild'] or
+@@ -2018,7 +2020,7 @@ gpsmon = env.Program('gpsmon/gpsmon', gp
LIBS=[libgpsd_static, libgps_static],
parse_flags=gpsdflags + gpsflags + ncurseslibs)
gpspipe = env.Program('clients/gpspipe', ['clients/gpspipe.c'],