git: 86bd6000e673 - main - textproc/xlnt: fix xlnt.pc
Thierry Thomas <[email protected]> Tue, 04 Aug 2026 17:34:45 +0000
| Newsgroups | gmane.os.freebsd.devel.cvs.ports |
|---|---|
| Message-ID | <[email protected]> |
The branch main has been updated by thierry: URL: https://cgit.FreeBSD.org/ports/commit/?id=86bd6000e673f2ad01ef9d8357699e507b251587 commit 86bd6000e673f2ad01ef9d8357699e507b251587 Author: Thierry Thomas <[email protected]> AuthorDate: 2026-08-04 15:09:59 +0000 Commit: Thierry Thomas <[email protected]> CommitDate: 2026-08-04 17:33:19 +0000 textproc/xlnt: fix xlnt.pc The corresponding PR has been submitted upstream: see https://github.com/tfussell/xlnt/pull/765 PR: 297275 Approved by: yuri (maintainer) --- textproc/xlnt/Makefile | 1 + textproc/xlnt/files/patch-source_CMakeLists.txt | 13 +++++++++++++ 2 files changed, 14 insertions(+) diff --git a/textproc/xlnt/Makefile b/textproc/xlnt/Makefile index 06ffd27b59ae..24d16d516c66 100644 --- a/textproc/xlnt/Makefile +++ b/textproc/xlnt/Makefile @@ -2,6 +2,7 @@ PORTNAME= xlnt DISTVERSIONPREFIX= v DISTVERSION= 1.5.0-92 DISTVERSIONSUFFIX= -g20f3dac2 +PORTREVISION= 1 CATEGORIES= textproc devel MAINTAINER= [email protected] diff --git a/textproc/xlnt/files/patch-source_CMakeLists.txt b/textproc/xlnt/files/patch-source_CMakeLists.txt new file mode 100644 index 000000000000..1c0b0d14edfb --- /dev/null +++ b/textproc/xlnt/files/patch-source_CMakeLists.txt @@ -0,0 +1,13 @@ +--- source/CMakeLists.txt.orig 2021-02-23 23:36:07 UTC ++++ source/CMakeLists.txt +@@ -297,8 +297,8 @@ if(NOT MSVC) + + if(NOT MSVC) + # Set pkg-config variables +- set(PKG_CONFIG_LIBDIR ${XLNT_LIB_DEST_DIR}) +- set(PKG_CONFIG_INCLUDEDIR ${XLNT_INC_DEST_DIR}) ++ set(PKG_CONFIG_LIBDIR "${CMAKE_INSTALL_PREFIX}/${XLNT_LIB_DEST_DIR}") ++ set(PKG_CONFIG_INCLUDEDIR "${CMAKE_INSTALL_PREFIX}/${XLNT_INC_DEST_DIR}") + set(PKG_CONFIG_LIBS "-L\${libdir} -lxlnt") + set(PKG_CONFIG_CFLAGS "-I\${includedir}") +