git: 726185a559aa - main - biology/htslib: Update to 1.23.1

From: Jason W. Bacon <jwb_at_FreeBSD.org>
Date: Sun, 29 Mar 2026 13:25:34 UTC
The branch main has been updated by jwb:

URL: https://cgit.FreeBSD.org/ports/commit/?id=726185a559aaec87362802379d51ad9bb8998714

commit 726185a559aaec87362802379d51ad9bb8998714
Author:     Jason W. Bacon <jwb@FreeBSD.org>
AuthorDate: 2026-03-29 13:08:18 +0000
Commit:     Jason W. Bacon <jwb@FreeBSD.org>
CommitDate: 2026-03-29 13:25:32 +0000

    biology/htslib: Update to 1.23.1
    
    Numerous bug fixes
    Changes: https://github.com/samtools/htslib/releases
    Added PLUGINS option to build with external plugins enabled
---
 biology/htslib/Makefile | 8 +++++---
 biology/htslib/distinfo | 6 +++---
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/biology/htslib/Makefile b/biology/htslib/Makefile
index 5b3c5908f428..aa4f02a37d15 100644
--- a/biology/htslib/Makefile
+++ b/biology/htslib/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	htslib
-DISTVERSION=	1.22
+DISTVERSION=	1.23.1
 CATEGORIES=	biology devel
 # Github generated distfiles are incomplete, so use custom tarball
 MASTER_SITES=	https://github.com/samtools/htslib/releases/download/${DISTVERSION}/
@@ -27,13 +27,15 @@ MAKE_ARGS=		${MAKE_ARGS_${ARCH}}
 PATHFIX_MAKEFILEIN=	Makefile
 SHEBANG_FILES=		test/*.pl
 
-OPTIONS_DEFINE=		CURL
-OPTIONS_DEFAULT=	CURL
+OPTIONS_DEFINE=		CURL PLUGINS
+OPTIONS_DEFAULT=	CURL PLUGINS
 
 CURL_DESC=		Use libcurl for network file access (HTTPS and S3 support).
 CURL_USES=		ssl
 CURL_LIB_DEPENDS=	libcurl.so:ftp/curl
 CURL_CONFIGURE_ENABLE=	libcurl
+PLUGIN_DESC=		Enable external plugins for exotic file access, etc.
+PLUGIN_CONFIGURE_ON=	plugins
 
 PLIST_SUB=	PORTVERSION="${PORTVERSION}"
 
diff --git a/biology/htslib/distinfo b/biology/htslib/distinfo
index fbe2d5f9d13e..257fe618a524 100644
--- a/biology/htslib/distinfo
+++ b/biology/htslib/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1748951113
-SHA256 (htslib-1.22.tar.bz2) = 6250c1df297db477516e60ac8df45ed75a652d1f25b0f37f12f5b17269eafde9
-SIZE (htslib-1.22.tar.bz2) = 4830206
+TIMESTAMP = 1774783712
+SHA256 (htslib-1.23.1.tar.bz2) = f8a3f36effeec38f043c53ab1f2d9ed45064f14205c5ef8e3c815763b90803c4
+SIZE (htslib-1.23.1.tar.bz2) = 4987046