git: 5d030ea14da0 - main - devel/hwloc2: Update 2.11.2 => 2.12.1

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Fri, 16 May 2025 16:14:15 UTC
The branch main has been updated by vvd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5d030ea14da0583b07751dc744a6e0b68b7f9fa3

commit 5d030ea14da0583b07751dc744a6e0b68b7f9fa3
Author:     Alastair Hogge <agh@riseup.net>
AuthorDate: 2025-05-16 16:10:18 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-05-16 16:10:18 +0000

    devel/hwloc2: Update 2.11.2 => 2.12.1
    
    Changelog:
    https://raw.githubusercontent.com/open-mpi/hwloc/v2.12/NEWS
    
    Improve port:
     - sort CONFIGURE_ARGS,
     - split long lines,
     - sort plist.
    
    PR:             286646
    Approved by:    Eijiro Shibusawa <phd_kimberlite@yahoo.co.jp> (maintainer)
---
 devel/hwloc2/Makefile  | 15 +++++++++------
 devel/hwloc2/distinfo  |  6 +++---
 devel/hwloc2/pkg-plist | 29 ++++++++++++++++-------------
 3 files changed, 28 insertions(+), 22 deletions(-)

diff --git a/devel/hwloc2/Makefile b/devel/hwloc2/Makefile
index f7a0f3d0aeb6..7f26e23d8ceb 100644
--- a/devel/hwloc2/Makefile
+++ b/devel/hwloc2/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	hwloc
-DISTVERSION=	2.11.2
+DISTVERSION=	2.12.1
 CATEGORIES=	devel
 MASTER_SITES=	https://download.open-mpi.org/release/hwloc/v${DISTVERSION:R}/
 PKGNAMESUFFIX=	2
@@ -19,11 +19,11 @@ USE_GNOME=	libxml2
 USE_LDCONFIG=	yes
 
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--enable-static \
+CONFIGURE_ARGS=	--disable-cuda \
+		--disable-gl \
 		--disable-opencl \
-		--disable-cuda \
 		--disable-nvml \
-		--disable-gl
+		--enable-static
 
 INSTALL_TARGET=	install-strip
 TEST_TARGET=	check
@@ -44,7 +44,9 @@ CAIRO_USE=		XORG=x11
 CAIRO_CONFIGURE_ON=	--enable-cairo --with-x
 CAIRO_CONFIGURE_OFF=	--disable-cairo --without-x
 
-DEBUG_CONFIGURE_ENABLE=	debug # 'lstopo -' prints a lot of debug details when debug is enabled, this is separate from WITH_DEBUG=yes
+# 'lstopo -' prints a lot of debug details when debug is enabled,
+# this is separate from WITH_DEBUG=yes
+DEBUG_CONFIGURE_ENABLE=	debug
 
 L0_LIB_DEPENDS=		libze_loader.so:devel/level-zero
 L0_CONFIGURE_ENABLE=	levelzero
@@ -59,6 +61,7 @@ PLIST_SUB+=	X86=""
 
 post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}/html
-	${INSTALL_DATA} ${WRKSRC}/doc/doxygen-doc/html/* ${STAGEDIR}${DOCSDIR}/html/
+	${INSTALL_DATA} ${WRKSRC}/doc/doxygen-doc/html/* \
+		${STAGEDIR}${DOCSDIR}/html/
 
 .include <bsd.port.post.mk>
diff --git a/devel/hwloc2/distinfo b/devel/hwloc2/distinfo
index 097a6be5e63b..28d05885ed76 100644
--- a/devel/hwloc2/distinfo
+++ b/devel/hwloc2/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1729378032
-SHA256 (hwloc-2.11.2.tar.bz2) = f7f88fecae067100f1a1a915b658add0f4f71561259482910a69baea22fe8409
-SIZE (hwloc-2.11.2.tar.bz2) = 5592269
+TIMESTAMP = 1747305776
+SHA256 (hwloc-2.12.1.tar.bz2) = 38a90328bb86259f9bb2fe1dc57fd841e111d1e6358012bef23dfd95d21dc66b
+SIZE (hwloc-2.12.1.tar.bz2) = 5629846
diff --git a/devel/hwloc2/pkg-plist b/devel/hwloc2/pkg-plist
index 4dcbab00d504..b94a8540f701 100644
--- a/devel/hwloc2/pkg-plist
+++ b/devel/hwloc2/pkg-plist
@@ -36,9 +36,21 @@ include/hwloc/shmem.h
 lib/libhwloc.a
 lib/libhwloc.so
 lib/libhwloc.so.15
-lib/libhwloc.so.15.8.1
+lib/libhwloc.so.15.10.0
 libdata/pkgconfig/hwloc.pc
 %%CAIRO%%share/applications/lstopo.desktop
+share/bash-completion/completions/hwloc
+%%DATADIR%%/hwloc-ps.www/README
+%%DATADIR%%/hwloc-ps.www/assets/index.html
+%%DATADIR%%/hwloc-ps.www/assets/main.css
+%%DATADIR%%/hwloc-ps.www/assets/script.js
+%%DATADIR%%/hwloc-ps.www/assets/style.css
+%%DATADIR%%/hwloc-ps.www/client.js
+%%DATADIR%%/hwloc-ps.www/package.json
+%%DATADIR%%/hwloc-valgrind.supp
+%%DATADIR%%/hwloc.dtd
+%%DATADIR%%/hwloc2-diff.dtd
+%%DATADIR%%/hwloc2.dtd
 share/man/man1/hwloc-annotate.1.gz
 share/man/man1/hwloc-bind.1.gz
 share/man/man1/hwloc-calc.1.gz
@@ -328,6 +340,8 @@ share/man/man3/hwloc_ibv_get_device_osdev_by_name.3.gz
 share/man/man3/hwloc_info_s.3.gz
 share/man/man3/hwloc_levelzero_get_device_cpuset.3.gz
 share/man/man3/hwloc_levelzero_get_device_osdev.3.gz
+share/man/man3/hwloc_levelzero_get_sysman_device_cpuset.3.gz
+share/man/man3/hwloc_levelzero_get_sysman_device_osdev.3.gz
 share/man/man3/hwloc_linux_get_tid_cpubind.3.gz
 share/man/man3/hwloc_linux_get_tid_last_cpu_location.3.gz
 share/man/man3/hwloc_linux_read_path_as_cpumask.3.gz
@@ -436,6 +450,7 @@ share/man/man3/hwloc_topology_get_allowed_cpuset.3.gz
 share/man/man3/hwloc_topology_get_allowed_nodeset.3.gz
 share/man/man3/hwloc_topology_get_complete_cpuset.3.gz
 share/man/man3/hwloc_topology_get_complete_nodeset.3.gz
+share/man/man3/hwloc_topology_get_default_nodeset.3.gz
 share/man/man3/hwloc_topology_get_depth.3.gz
 share/man/man3/hwloc_topology_get_flags.3.gz
 share/man/man3/hwloc_topology_get_topology_cpuset.3.gz
@@ -522,15 +537,3 @@ share/man/man3/hwlocality_tinker.3.gz
 share/man/man3/hwlocality_windows.3.gz
 share/man/man3/hwlocality_xmlexport.3.gz
 share/man/man7/hwloc.7.gz
-share/bash-completion/completions/hwloc
-%%DATADIR%%/hwloc-ps.www/README
-%%DATADIR%%/hwloc-ps.www/assets/index.html
-%%DATADIR%%/hwloc-ps.www/assets/main.css
-%%DATADIR%%/hwloc-ps.www/assets/script.js
-%%DATADIR%%/hwloc-ps.www/assets/style.css
-%%DATADIR%%/hwloc-ps.www/client.js
-%%DATADIR%%/hwloc-ps.www/package.json
-%%DATADIR%%/hwloc-valgrind.supp
-%%DATADIR%%/hwloc.dtd
-%%DATADIR%%/hwloc2-diff.dtd
-%%DATADIR%%/hwloc2.dtd