summaryrefslogtreecommitdiff
path: root/textproc/libxml++
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/libxml++')
-rw-r--r--textproc/libxml++/Makefile11
-rw-r--r--textproc/libxml++/files/patch-libxml++.pc.in8
-rw-r--r--textproc/libxml++/files/patch-libxml++_meson.build11
-rw-r--r--textproc/libxml++/files/patch-meson.build6
4 files changed, 20 insertions, 16 deletions
diff --git a/textproc/libxml++/Makefile b/textproc/libxml++/Makefile
index e6ee7969fb8c..f89334433f34 100644
--- a/textproc/libxml++/Makefile
+++ b/textproc/libxml++/Makefile
@@ -1,5 +1,6 @@
PORTNAME= libxml++
DISTVERSION= 5.4.0
+PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= GNOME \
https://github.com/libxmlplusplus/libxmlplusplus/releases/download/${DISTVERSION}/
@@ -16,11 +17,11 @@ USES= compiler:c++17-lang gnome meson pkgconfig tar:xz
USE_GNOME= libxml2
USE_LDCONFIG= yes
-MESON_ARGS= -Ddefault_library=both \
- -Dbuild-examples=false \
- -Dbuild-manual=false
+MESON_ARGS= -Dbuild-examples=false \
+ -Dbuild-manual=false \
+ -Ddefault_library=both
-PLIST_SUB= VERSION=5.0 \
- API_VERSION=5.0
+PLIST_SUB= API_VERSION=5.0 \
+ VERSION=5.0
.include <bsd.port.mk>
diff --git a/textproc/libxml++/files/patch-libxml++.pc.in b/textproc/libxml++/files/patch-libxml++.pc.in
deleted file mode 100644
index f59451ca7ce1..000000000000
--- a/textproc/libxml++/files/patch-libxml++.pc.in
+++ /dev/null
@@ -1,8 +0,0 @@
---- libxml++.pc.in.orig 2021-05-27 10:36:45 UTC
-+++ libxml++.pc.in
-@@ -16,4 +16,4 @@ Libs: -L${libdir} -lxml++@MSVC_TOOLSET_VER@-@LIBXMLXX_
- URL: https://libxmlplusplus.github.io/libxmlplusplus/
- Requires: @LIBXMLXX_MODULES@
- Libs: -L${libdir} -lxml++@MSVC_TOOLSET_VER@-@LIBXMLXX_API_VERSION@ @LIBXML2_LIB_NO_PKGCONFIG@
--Cflags: -I${includedir}/@LIBXMLXX_MODULE_NAME@ -I${libdir}/@LIBXMLXX_MODULE_NAME@/include
-+Cflags: -I${includedir}/@LIBXMLXX_MODULE_NAME@ -I${includedir}/@LIBXMLXX_MODULE_NAME@/include
diff --git a/textproc/libxml++/files/patch-libxml++_meson.build b/textproc/libxml++/files/patch-libxml++_meson.build
new file mode 100644
index 000000000000..895e628b1a2a
--- /dev/null
+++ b/textproc/libxml++/files/patch-libxml++_meson.build
@@ -0,0 +1,11 @@
+--- libxml++/meson.build.orig 2025-05-22 18:00:46 UTC
++++ libxml++/meson.build
+@@ -143,7 +143,7 @@ pkg_config.generate(xmlxx_library,
+ requires: xmlxx_pc_requires,
+ libraries: libxml2_lib_pkgconfig,
+ subdirs: [xmlxx_pcname],
+- extra_cflags: ['-I${libdir}/' + xmlxx_pcname + '/include'],
++ extra_cflags: ['-I${includedir}/' + xmlxx_pcname + '/include'],
+ )
+
+ # This is used when building example programs and test programs.
diff --git a/textproc/libxml++/files/patch-meson.build b/textproc/libxml++/files/patch-meson.build
index d7d09167e712..92145d92b431 100644
--- a/textproc/libxml++/files/patch-meson.build
+++ b/textproc/libxml++/files/patch-meson.build
@@ -1,4 +1,4 @@
---- meson.build.orig 2024-01-11 13:10:47 UTC
+--- 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')
@@ -9,8 +9,8 @@
# Dependencies.
# xmlxx_build_dep: Dependencies when building the libxml++ library.
-@@ -370,7 +370,7 @@ xmlxxconfig_h_meson = files('libxml++config.h.meson')
- )
+@@ -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'