Low-hanging fruit, this, surely: Remove Xorg from base install; use instead, modular Xorg from packages.
Xorg in base is pretty old (1.20.5, built March 2019); xterm
is very old (330--circa 2017); other binaries in /usr/X11R7/bin
are similar.
Right now there's no way to skip base Xorg and only install modular-xorg
instead. I tried it a few months ago and I got a ton of bizarre dependency issues (Xlib, fontconfig, ...)
You can install modular-xorg
into /usr/pkg/bin
with base Xorg, but then you have duplicates: libraries and binaries both (/usr/X11R7/{bin,lib}
vs. /usr/pkg/{bin,lib}
). And, therefore have to juggle PATHs to select between the two (and also, the related problem of the order of entries in /etc/ld.so.conf
).