git: 17216b2bfcd0 - main - cad/gds3d: unbreak without libomp
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 29 Jan 2025 16:58:31 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=17216b2bfcd088c7a80ef549a5ed640f651fec1d
commit 17216b2bfcd088c7a80ef549a5ed640f651fec1d
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-29 14:14:37 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-29 16:57:18 +0000
cad/gds3d: unbreak without libomp
---
cad/gds3d/Makefile | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/cad/gds3d/Makefile b/cad/gds3d/Makefile
index 8585ce902efe..7a02069377d4 100644
--- a/cad/gds3d/Makefile
+++ b/cad/gds3d/Makefile
@@ -14,7 +14,7 @@ USE_XORG= x11
USE_GL= gl
.if !exists(/usr/include/omp.h)
-BROKEN= requires OpenMP support that is missing on this architecture
+USE_GCC= yes
.endif
USE_GITHUB= yes
@@ -28,12 +28,6 @@ MAKE_ARGS= CC=${CXX}
PLIST_FILES= bin/${PORTNAME:tu}
-.include <bsd.port.options.mk>
-
-.if ${ARCH} == powerpc
-USE_GCC= yes
-.endif
-
post-patch: # workaround for https://github.com/trilomix/GDS3D/issues/14
@${REINPLACE_CMD} -e 's|Index = NULL;|Index = 0;|' ${WRKSRC}/../libgdsto3d/gdspolygon.cpp