[MacPorts] #57272: ntpviz in ntpsec @1.1.2 cannot display anything because it cannot find the Liberation fonts
MacPorts
noreply at macports.org
Sun Oct 7 07:46:41 UTC 2018
#57272: ntpviz in ntpsec @1.1.2 cannot display anything because it cannot find the
Liberation fonts
------------------------+------------------------
Reporter: ballapete | Owner: fhgwright
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.5.4
Resolution: | Keywords: highsierra
Port: ntpsec |
------------------------+------------------------
Comment (by ballapete):
Replying to [comment:1 jmroot]:
> The patch needs to use $prefix instead of hardcoding /opt/local.
Are you sure? The patched file `ntpclients/ntpviz.py` then contains
{{{
for fontpath in ("${prefix}/share/fonts/liberation-fonts",
"/usr/share/fonts/liberation",
"/usr/share/fonts/liberation-fonts",
"/usr/share/fonts/truetype/liberation"):
}}}
How will ntpviz know at runtime what "${prefix}" might mean? And whose
prefix is this?!
--
Ticket URL: <https://trac.macports.org/ticket/57272#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list