git: 53b8e4525065 - main - textproc/libxslt: update to 1.1.42

From: Charlie Li <vishwin_at_FreeBSD.org>
Date: Thu, 06 Mar 2025 18:37:55 UTC
The branch main has been updated by vishwin:

URL: https://cgit.FreeBSD.org/ports/commit/?id=53b8e4525065be37f4e80e478b15366960951327

commit 53b8e4525065be37f4e80e478b15366960951327
Author:     Charlie Li <vishwin@FreeBSD.org>
AuthorDate: 2025-03-06 18:35:03 +0000
Commit:     Charlie Li <vishwin@FreeBSD.org>
CommitDate: 2025-03-06 18:35:03 +0000

    textproc/libxslt: update to 1.1.42
    
    Changelog: https://gitlab.gnome.org/GNOME/libxslt/-/blob/v1.1.42/NEWS
    
    PR: 279741
    Reported by: diizzy
    exp-run by: antoine
---
 textproc/libxslt/Makefile  | 20 ++++++--------------
 textproc/libxslt/distinfo  |  8 +++++---
 textproc/libxslt/pkg-plist | 11 +++++------
 3 files changed, 16 insertions(+), 23 deletions(-)

diff --git a/textproc/libxslt/Makefile b/textproc/libxslt/Makefile
index 858cf3dc9c5d..17dc9fcb9408 100644
--- a/textproc/libxslt/Makefile
+++ b/textproc/libxslt/Makefile
@@ -1,10 +1,12 @@
 PORTNAME=	libxslt
-DISTVERSION=	1.1.37
-PORTREVISION=	1
+DISTVERSION=	1.1.42
 CATEGORIES=	textproc gnome
 MASTER_SITES=	GNOME/sources/${PORTNAME}/${DISTVERSION:R}/
 DIST_SUBDIR=	gnome
 
+PATCH_SITES=	https://gitlab.gnome.org/GNOME/libxslt/-/commit/
+PATCHFILES=	bf59c338121b8b45d66ba6ecea69ad498015c396.patch:-p1
+
 MAINTAINER=	desktop@FreeBSD.org
 COMMENT=	XML stylesheet transformation library
 WWW=		https://gitlab.gnome.org/GNOME/libxslt/
@@ -13,38 +15,28 @@ LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 # See note in textproc/libxml2 for why this port uses autotools
-# from the choices of that and CMake.
 USES=		cpe gmake gnome libtool localbase:ldflags pathfix pkgconfig tar:xz
 CPE_VENDOR=	xmlsoft
 GNU_CONFIGURE=	yes
-GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 USE_GNOME=	libxml2
 USE_LDCONFIG=	yes
 
-CONFIGURE_ARGS=	--with-html-dir=${PREFIX}/share/doc \
-		--without-python
+CONFIGURE_ARGS+=	--without-python
 INSTALL_TARGET=	install-strip
 TEST_TARGET=	check
 
 PLIST_SUB=	LIBVERSION=${PORTVERSION}
 
-OPTIONS_DEFINE=	CRYPTO MEM_DEBUG STATIC
+OPTIONS_DEFINE=	CRYPTO STATIC
 OPTIONS_DEFAULT=	CRYPTO STATIC
 OPTIONS_SUB=		yes
 
 CRYPTO_DESC=	Enable crypto support
-MEM_DEBUG_DESC=	Enable memory debugging
 
 CRYPTO_LIB_DEPENDS=	libgcrypt.so:security/libgcrypt \
 			libgpg-error.so:security/libgpg-error
 CRYPTO_CONFIGURE_WITH=	crypto
 
-MEM_DEBUG_CONFIGURE_WITH=	mem-debug
-
 STATIC_CONFIGURE_ENABLE=	static
 
-post-patch:
-	@${REINPLACE_CMD} -e '/^install-data-am:/ s|install-data-local||' \
-		${WRKSRC}/doc/Makefile.in
-
 .include <bsd.port.mk>
diff --git a/textproc/libxslt/distinfo b/textproc/libxslt/distinfo
index c24ab8dafc97..82c1f45643e7 100644
--- a/textproc/libxslt/distinfo
+++ b/textproc/libxslt/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1661816621
-SHA256 (gnome/libxslt-1.1.37.tar.xz) = 3a4b27dc8027ccd6146725950336f1ec520928f320f144eb5fa7990ae6123ab4
-SIZE (gnome/libxslt-1.1.37.tar.xz) = 1588572
+TIMESTAMP = 1740975033
+SHA256 (gnome/libxslt-1.1.42.tar.xz) = 85ca62cac0d41fc77d3f6033da9df6fd73d20ea2fc18b0a3609ffb4110e1baeb
+SIZE (gnome/libxslt-1.1.42.tar.xz) = 1573668
+SHA256 (gnome/bf59c338121b8b45d66ba6ecea69ad498015c396.patch) = 6acb468675339f3d882fb8180608977625f9eded1e9653387833e23212bf9d3c
+SIZE (gnome/bf59c338121b8b45d66ba6ecea69ad498015c396.patch) = 8454
diff --git a/textproc/libxslt/pkg-plist b/textproc/libxslt/pkg-plist
index 08511d56a75e..ce3d8ff24fa5 100644
--- a/textproc/libxslt/pkg-plist
+++ b/textproc/libxslt/pkg-plist
@@ -29,18 +29,14 @@ lib/cmake/libxslt/libxslt-config.cmake
 %%STATIC%%lib/libexslt.a
 lib/libexslt.so
 lib/libexslt.so.0
-lib/libexslt.so.0.8.20
+lib/libexslt.so.0.8.23
 %%STATIC%%lib/libxslt.a
 lib/libxslt.so
 lib/libxslt.so.1
-lib/libxslt.so.1.1.37
+lib/libxslt.so.%%LIBVERSION%%
 lib/xsltConf.sh
 libdata/pkgconfig/libexslt.pc
 libdata/pkgconfig/libxslt.pc
-share/man/man1/xsltproc.1.gz
-share/man/man3/libexslt.3.gz
-share/man/man3/libxslt.3.gz
-share/aclocal/libxslt.m4
 share/gtk-doc/html/libexslt/general.html
 share/gtk-doc/html/libexslt/home.png
 share/gtk-doc/html/libexslt/index.html
@@ -79,4 +75,7 @@ share/gtk-doc/html/libxslt/libxslt.devhelp2
 share/gtk-doc/html/libxslt/right.png
 share/gtk-doc/html/libxslt/style.css
 share/gtk-doc/html/libxslt/up.png
+share/man/man1/xsltproc.1.gz
+share/man/man3/libexslt.3.gz
+share/man/man3/libxslt.3.gz
 @dir lib/libxslt-plugins