#58388 closed defect (fixed)
libwmf @0.2.8.4_8: dependency on obsolete port mkfontdir - build failure
Reported by: | majoc-at-astro (majoc-at-astro) | Owned by: | jmroot (Joshua Root) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.5.4 |
Keywords: | Cc: | ||
Port: | libwmf |
Description
From the logfile for gimp2:
---> Configuring mkfontdir Error: mkfontdir has been replaced by mkfontscale; please install that instead. Error: Failed to configure mkfontdir: obsolete port
I enclose the obvious patch file to remove the dependency of libwmf on mkfontdir. This fix has been working in production for some weeks.
Please see also ticket:58187. This is a sneaky one: a bin:-style dependency on mkfontdir doesn't always throw an error (and may require a grep of the Portfiles to track down), and I presume there are Reasons for not using a port:-style dependency instead.
Thanks in advance, and apologies for not having submitted this as a pull request, esp as libwmf is a nomaintainer port.
Attachments (1)
Change History (5)
Changed 6 years ago by majoc-at-astro (majoc-at-astro)
Attachment: | libwmf.Portfile.diff added |
---|
comment:1 follow-up: 4 Changed 6 years ago by mf2k (Frank Schima)
comment:2 Changed 6 years ago by mf2k (Frank Schima)
Port: | gimp2 removed |
---|
Submitting a PR is always preferred and has nothing to do with whether a port has a maintainer or not.
comment:3 Changed 6 years ago by jmroot (Joshua Root)
Owner: | set to jmroot |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:4 Changed 6 years ago by majoc-at-astro (majoc-at-astro)
Replying to mf2k:
It seems to me that it should be a direct port dependency, not a bin dependency.
port:mkfontscale
Not necessarily on systems (like ours) where Macports has been told to defer to MacTeX. But support for that is admitted to be incomplete, and the size and time deltas in this case are small, so I won't argue.
It seems to me that it should be a direct port dependency, not a bin dependency.
port:mkfontscale