[Bug 297275] textproc/xlnt: fix xlnt.pc

[email protected] Tue, 04 Aug 2026 15:35:57 +0000
Newsgroups gmane.os.freebsd.devel.ports.bugs
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D297275

            Bug ID: 297275
           Summary: textproc/xlnt: fix xlnt.pc
           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]
          Assignee: [email protected]
             Flags: maintainer-feedback?([email protected])

Created attachment 273449
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D273449&action=
=3Dedit
Fix xlnt.pc

Without this patch, xlnt.pc is generated with the following lines:

includedir=3Dinclude
libdir=3Dlib

and when a program uses it with pkg-config, it returns -Iinclude -Llib
which of course is invalid.

The proposed patch adds the missing prefix, and now pkg-config --libs xlnt
returns "-L/usr/local/lib -lxlnt" and pkg-config --cflags xlnt returns
"-I/usr/local/include" for my case with e.g. $PREFIX=3D/usr/local.

PR submitted upstream: see https://github.com/tfussell/xlnt/pull/765

--=20
You are receiving this mail because:
You are the assignee for the bug.=