cad/gds3d: unbreak without libomp

This commit is contained in:
Piotr Kubaj 2025-01-29 15:14:37 +01:00
parent 731c2ae395
commit 17216b2bfc

View file

@ -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