summaryrefslogtreecommitdiff
path: root/devel/nextpnr/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/nextpnr/Makefile')
-rw-r--r--devel/nextpnr/Makefile9
1 files changed, 7 insertions, 2 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>