ports/textproc/libxml++/files/patch-meson.build
Zsolt Udvari 55d4ea0f91 textproc/libxml++: Fix pkgconfig pc file
The libxml++-50.pc isn't generated from pc.in file - it's
generated by meson. So remove the patch-libxml++.pc.in and add
patch-libxml++_meson.build file.
While I'm here pet portfmt.

Approved by:	portmgr (blanket, runtime fix)
2025-05-22 20:17:17 +02:00

21 lines
807 B
Plaintext

--- meson.build.orig 2024-08-13 14:23:04 UTC
+++ meson.build
@@ -98,7 +98,7 @@ install_datadir = get_option('datadir')
install_includedir = get_option('includedir')
install_libdir = get_option('libdir')
install_datadir = get_option('datadir')
-install_pkgconfigdir = install_libdir / 'pkgconfig'
+install_pkgconfigdir = join_paths('libdata', 'pkgconfig')
# Dependencies.
# xmlxx_build_dep: Dependencies when building the libxml++ library.
@@ -295,7 +295,7 @@ xmlxxconfig_h_meson = files('libxml++config.h.meson')
endif
xmlxxconfig_h_meson = files('libxml++config.h.meson')
-install_includeconfigdir = install_libdir / xmlxx_pcname / 'include'
+install_includeconfigdir = install_includedir / xmlxx_pcname / 'include'
configure_file(
input: xmlxxconfig_h_meson,
output: 'libxml++config.h',