summaryrefslogtreecommitdiff
path: root/devel/nextpnr
diff options
context:
space:
mode:
Diffstat (limited to 'devel/nextpnr')
-rw-r--r--devel/nextpnr/Makefile9
-rw-r--r--devel/nextpnr/distinfo6
-rw-r--r--devel/nextpnr/files/patch-bba_CMakeLists.txt9
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)