Created attachment 221400 [details]
Unified diff to use hwloc2
devel/hwloc2 is now available and other ports are being migrated to it.
As it cannot coexist with hwloc, install conflicts are possible as long as both hwloc and hwloc2 are used as dependencies.
Successful build has been verified with the attached patch.
Build and package info is available at https://gitlab.com/swills/freebsd-ports/pipelines/245740829