git: d6e564cd0573 - main - cad/ngspice_rework: fix build on armv7
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 02 Sep 2025 21:11:22 UTC
The branch main has been updated by fuz:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d6e564cd057376640f7b5f8094552eee4e949686
commit d6e564cd057376640f7b5f8094552eee4e949686
Author: Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2025-08-30 09:36:12 +0000
Commit: Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2025-09-02 21:07:24 +0000
cad/ngspice_rework: fix build on armv7
Disable OpenMP where it is not supported.
MFH: 2025Q3
Approved by: portmgr (build fix blanket)
---
cad/ngspice_rework/Makefile | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/cad/ngspice_rework/Makefile b/cad/ngspice_rework/Makefile
index a22de9aa3ab3..1235e2345bc2 100644
--- a/cad/ngspice_rework/Makefile
+++ b/cad/ngspice_rework/Makefile
@@ -21,8 +21,10 @@ shlib_PLIST= ${MASTERDIR}/pkg-plist-shlib
USES= compiler:c11 gmake libtool ncurses readline autoreconf pkgconfig
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --enable-cider # xspice, readline, osdi are now standard
-
+CONFIGURE_ARGS_armv7= --disable-openmp
+# xspice, readline, osdi are now standard
+CONFIGURE_ARGS= --enable-cider \
+ ${CONFIGURE_ARGS_${ARCH}}
OPTIONS_DEFINE= DEBUG
.if ${FLAVOR:U} == shlib