[MacPorts] #62798: freeciv 2.6.4: man freeciv-gtk2 etc. "can't open" "No such file or directory" (.so directive and .gz?)
MacPorts
noreply at macports.org
Tue May 11 19:58:11 UTC 2021
#62798: freeciv 2.6.4: man freeciv-gtk2 etc. "can't open" "No such file or
directory" (.so directive and .gz?)
----------------------+--------------------
Reporter: JDLH | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.6.4
Resolution: | Keywords:
Port: freeciv |
----------------------+--------------------
Comment (by JDLH):
The upstream developers have come up with patches to their manpage sources
which move the `.so` requests to the first line of their respective files.
I tested a patch on the freeciv @2.6.4 build directory within MacPorts. It
was successful.
My test method:
{{{
% sudo port uninstall freeciv
[… output omitted for brevity …]
% sudo port build freeciv
[… output omitted for brevity …]
% cd `port work freeciv`
% patch -p1 <…/…/0027-Make-man-page-links-to-work-on-OSX.patch
Password:
patching file doc/man/freeciv-gtk2.6
patching file doc/man/freeciv-gtk3.22.6
patching file doc/man/freeciv-gtk3.6
patching file doc/man/freeciv-mp-cli.6
patching file doc/man/freeciv-mp-gtk2.6
patching file doc/man/freeciv-mp-gtk3.6
patching file doc/man/freeciv-mp-qt.6
patching file doc/man/freeciv-qt.6
patching file doc/man/freeciv-sdl2.6
% head -2 doc/man/freeciv-gtk2.6
.so man6/freeciv-client.6
.\" Freeciv - Copyright (C) 1996 - A Kjeldberg, L Gregersen, P Unold
% cd ~
% sudo port -k install freeciv
% man freeciv-gtk2
[Success]
% man freeciv-mp-cli
[Success]
}}}
So I think we don't need to do anything about this ticket within MacPorts.
I'll keep an eye on updates to MacPorts. When the successor to Freeciv
2.6.4 is released, I expect that will contain the fix to this ticket.
--
Ticket URL: <https://trac.macports.org/ticket/62798#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list