Bug 254533 - x11-fonts/tlwg_ttf creates broken symbolic links.
Summary: x11-fonts/tlwg_ttf creates broken symbolic links.
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
Depends on:
Reported: 2021-03-25 00:21 UTC by Miłosz Kaniewski
Modified: 2021-03-25 00:21 UTC (History)
1 user (show)

See Also:
milosz.kaniewski: maintainer-feedback? (antumdeluge)

Proposed patch. (615 bytes, patch)
2021-03-25 00:21 UTC, Miłosz Kaniewski
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Miłosz Kaniewski 2021-03-25 00:21:45 UTC
Created attachment 223555 [details]
Proposed patch.


port x11-fonts/tlwg_ttf creates broken symbolic links in two directories:

The links are broken because they points to wrong targets e.g. links in the /usr/local/share/fonts/TTF/thai points to lib/X11/fonts/TTF/thai instead of /usr/local/lib/X11/fonts/TTF/thai.

To fix that we can add /usr/local prefix to the symbolic links targets (proposed patch in the attachment).