git: aa99aee85358 - main - devel/nextpnr: Update to 0.9

From: Joel Bodenmann <jbo_at_FreeBSD.org>
Date: Mon, 08 Sep 2025 15:43:33 UTC
The branch main has been updated by jbo:

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

commit aa99aee8535894a01de0a3323b3ae3ba87754544
Author:     Joel Bodenmann <jbo@FreeBSD.org>
AuthorDate: 2025-09-08 15:30:28 +0000
Commit:     Joel Bodenmann <jbo@FreeBSD.org>
CommitDate: 2025-09-08 15:42:24 +0000

    devel/nextpnr: Update to 0.9
    
    Changelog: https://github.com/YosysHQ/nextpnr/releases/tag/nextpnr-0.9
    
    Also enable use of OpenMP when available.
---
 devel/nextpnr/Makefile                       | 9 +++++++--
 devel/nextpnr/distinfo                       | 6 +++---
 devel/nextpnr/files/patch-bba_CMakeLists.txt | 9 +++------
 3 files changed, 13 insertions(+), 11 deletions(-)

diff --git a/devel/nextpnr/Makefile b/devel/nextpnr/Makefile
index 426f143fe694..1da661953385 100644
--- a/devel/nextpnr/Makefile
+++ b/devel/nextpnr/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	nextpnr
 DISTVERSIONPREFIX=	${PORTNAME}-
-DISTVERSION=	0.8
-PORTREVISION=	2
+DISTVERSION=	0.9
 PORTEPOCH=	1
 CATEGORIES=	devel
 
@@ -41,4 +40,10 @@ PLIST_FILES=	bin/nextpnr-ecp5 \
 # This is a workaround to avoid filesystem violations during poudriere build
 MAKE_ENV=	PYTHONDONTWRITEBYTECODE=1
 
+.if exists(/usr/include/omp.h)
+CMAKE_ON=	USE_OPENMP
+.else
+CMAKE_OFF=	USE_OPENMP
+.endif
+
 .include <bsd.port.mk>
diff --git a/devel/nextpnr/distinfo b/devel/nextpnr/distinfo
index 865a0c489ab6..396ec3c52a38 100644
--- a/devel/nextpnr/distinfo
+++ b/devel/nextpnr/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1742940246
-SHA256 (YosysHQ-nextpnr-nextpnr-0.8_GH0.tar.gz) = 968ce3f39973e1d855c6bf1606a334d9f9650cff978554b822de0a6c088947bd
-SIZE (YosysHQ-nextpnr-nextpnr-0.8_GH0.tar.gz) = 4665005
+TIMESTAMP = 1757340857
+SHA256 (YosysHQ-nextpnr-nextpnr-0.9_GH0.tar.gz) = 8cebc65049ff91c411d963ea2304b1a3dd42036f79de2eb3e9834c842f934495
+SIZE (YosysHQ-nextpnr-nextpnr-0.9_GH0.tar.gz) = 4744423
 SHA256 (YosysHQ-nextpnr-tests-ce15412_GH0.tar.gz) = 84b7e926d97ce1aae3a2b9115b9030fce483a8b6d8b6cde060046a93f24966fe
 SIZE (YosysHQ-nextpnr-tests-ce15412_GH0.tar.gz) = 1032708
diff --git a/devel/nextpnr/files/patch-bba_CMakeLists.txt b/devel/nextpnr/files/patch-bba_CMakeLists.txt
index 1e9e2cd5abf1..07e458b948b9 100644
--- a/devel/nextpnr/files/patch-bba_CMakeLists.txt
+++ b/devel/nextpnr/files/patch-bba_CMakeLists.txt
@@ -1,13 +1,10 @@
---- bba/CMakeLists.txt.orig	2025-03-25 22:08:07 UTC
+--- bba/CMakeLists.txt.orig	2025-09-08 14:21:44 UTC
 +++ bba/CMakeLists.txt
-@@ -9,7 +9,7 @@ target_link_libraries(bbasm LINK_PRIVATE
+@@ -10,6 +10,5 @@ target_link_libraries(bbasm LINK_PRIVATE
  add_executable(bbasm
      main.cc)
  target_link_libraries(bbasm LINK_PRIVATE
 -    ${Boost_PROGRAM_OPTIONS_LIBRARY}
--    ${Boost_FILESYSTEM_LIBRARY}
 -    ${Boost_SYSTEM_LIBRARY})
-+	Boost::program_options
-+	Boost::filesystem
-+	Boost::system)
++    Boost::program_options)
  export(TARGETS bbasm FILE ${CMAKE_BINARY_DIR}/bba-export.cmake)