Bug 254533

Summary: x11-fonts/tlwg_ttf creates broken symbolic links.
Product: Ports & Packages Reporter: Miłosz Kaniewski <milosz.kaniewski>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: New ---    
Severity: Affects Only Me CC: antumdeluge
Priority: --- Flags: milosz.kaniewski: maintainer-feedback? (antumdeluge)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Proposed patch. none

Description Miłosz Kaniewski 2021-03-25 00:21:45 UTC
Created attachment 223555 [details]
Proposed patch.

Hi,

port x11-fonts/tlwg_ttf creates broken symbolic links in two directories:
/usr/local/share/fonts/TTF/thai
/usr/local/etc/fonts/conf.d

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).