textproc/libxml++30: remove incorrect patch and adjust plist

libxml++config.h is always #included as <libxml++config.h>, and its
expected location is lib/libxml++3.0/include. Consumers fail to
build otherwise as other headers in this port include <libxml++config.h>.
This commit is contained in:
Charlie Li 2025-01-10 23:09:10 -05:00
parent bb40747fcf
commit d7169b7b3c
No known key found for this signature in database
GPG key ID: 678F936058415CCA
3 changed files with 3 additions and 13 deletions

View file

@ -1,5 +1,6 @@
PORTNAME= libxml++
PORTVERSION= 3.2.5
DISTVERSION= 3.2.5
PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= GNOME
PKGNAMESUFFIX= 30

View file

@ -1,11 +0,0 @@
--- meson.build.orig 2024-01-11 10:03:52 UTC
+++ meson.build
@@ -393,7 +393,7 @@
)
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',

View file

@ -1,4 +1,3 @@
include/libxml++-%%API_VERSION%%/include/libxml++config.h
include/libxml++-%%API_VERSION%%/libxml++/attribute.h
include/libxml++-%%API_VERSION%%/libxml++/attributedeclaration.h
include/libxml++-%%API_VERSION%%/libxml++/attributenode.h
@ -43,4 +42,5 @@ lib/libxml++-%%VERSION%%.a
lib/libxml++-%%VERSION%%.so
lib/libxml++-%%VERSION%%.so.1
lib/libxml++-%%VERSION%%.so.1.0.0
lib/libxml++-%%API_VERSION%%/include/libxml++config.h
libdata/pkgconfig/libxml++-%%API_VERSION%%.pc