summaryrefslogtreecommitdiff
path: root/textproc/libxml++/files/patch-meson.build
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2022-06-28 11:32:34 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2022-06-28 11:32:34 +0000
commitedda35495236e91396238b98d4993dbaa83aa7b7 (patch)
treed750d74810021fcb3d222d5be88edae4843c9368 /textproc/libxml++/files/patch-meson.build
parentwww/varnish[4|6|7]: Chase deprecated CPE information (diff)
textproc/libxml++: resurrect^Wreadd the port and update to version 5.0.1
Keep the VERSION vs. API_VERSION separation for the time being to remain consistent with the `textproc/libxml++26' port. Install both static and shared libraries for the same reason. PR: 264699
Diffstat (limited to 'textproc/libxml++/files/patch-meson.build')
-rw-r--r--textproc/libxml++/files/patch-meson.build20
1 files changed, 20 insertions, 0 deletions
diff --git a/textproc/libxml++/files/patch-meson.build b/textproc/libxml++/files/patch-meson.build
new file mode 100644
index 000000000000..7f1709a768ef
--- /dev/null
+++ b/textproc/libxml++/files/patch-meson.build
@@ -0,0 +1,20 @@
+--- meson.build.orig 2021-05-27 10:36:45 UTC
++++ meson.build
+@@ -44,7 +44,7 @@ is_msvc = cpp_compiler.get_id() == 'msvc'
+
+ cpp_compiler = meson.get_compiler('cpp')
+ is_msvc = cpp_compiler.get_id() == 'msvc'
+-python3 = import('python').find_installation('python3')
++python3 = import('python').find_installation()
+
+ python_version = python3.language_version()
+ python_version_req = '>= 3.5'
+@@ -290,7 +290,7 @@ configure_file(
+ install_dir: install_pkgconfigdir,
+ )
+
+-install_includeconfigdir = install_libdir / xmlxx_pcname / 'include'
++install_includeconfigdir = install_includedir / xmlxx_pcname / 'include'
+ xmlxxconfig_h = configure_file(
+ input: 'libxml++config.h.meson',
+ output: 'libxml++config.h',