2026-06-07T21:37:37+0000 Lucas Raab <[email protected]>:
> Hello,
>
> Here's an update for senpai to the latest version which has been working
> fine so far.
>
> changelog: https://git.sr.ht/~delthas/senpai/refs/v0.5.0
>
> Look/work fine to anyone else?
Hi Lucas,
Thank you for this. I was just working on the update yesterday and ran
out of time.
Overall I'm ok with the update, but would you please commit it with the
diff below on top (if it works for you, of course)? This version of
senpai allows overriding the version string printed with the -version
flag and in the welcome message in the (home) buffer. Without the diff
below senpai prints "(unknown version)". In previous versions it would
print "(devel)" and there was no way to override it.
Thank you!
diff -rup net/senpai/Makefile /tmp/senpai/Makefile
--- net/senpai/Makefile Mon Jun 8 13:19:34 2026
+++ /tmp/senpai/Makefile Mon Jun 8 13:19:00 2026
@@ -18,6 +18,7 @@ RUN_DEPENDS = devel/desktop-file-utils \
USE_GMAKE = yes
MAKE_FLAGS = GIT=
+MODGO_LDFLAGS = -X
git.sr.ht/~delthas/senpai.version=${MODGO_VERSION}
post-build:
${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} -C ${WRKSRC} ${MAKE_FLAGS} doc