[Bug 297621] korean/libhangul: Link libintl into libhangul.so

[email protected]
Newsgroups gmane.os.freebsd.devel.ports.bugs
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=297621

            Bug ID: 297621
           Summary: korean/libhangul: Link libintl into libhangul.so
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: [email protected]
          Reporter: [email protected]
             Flags: maintainer-feedback?([email protected])
          Assignee: [email protected]

Created attachment 273858
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=273858&action=edit
v1

With NLS enabled libhangul calls libintl_bindtextdomain(3) and friends, but
hangul/Makefile.am never adds $(LTLIBINTL) to libhangul_la_LIBADD.  On
FreeBSD libintl is a separate library, so libhangul.so keeps undefined
references to it and linking an executable against libhangul fails with
lld:

  ld: error: undefined reference: libintl_bindtextdomain
  >>> referenced by /usr/local/lib/libhangul.so
      (disallowed by --no-allow-shlib-undefined)

This currently breaks korean/fcitx5-hangul, which links against libhangul.

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.