cad/gds3d: fix build on powerpc
ld: error: unable to find library -lomp
This commit is contained in:
parent
38b2862d44
commit
ff5ae1981c
1 changed files with 6 additions and 0 deletions
|
@ -23,6 +23,12 @@ 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
|
||||
|
||||
|
|
Loading…
Reference in a new issue