diff options
-rw-r--r-- | cad/gds3d/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cad/gds3d/Makefile b/cad/gds3d/Makefile index ab5140707cf4..f456e544f1b4 100644 --- a/cad/gds3d/Makefile +++ b/cad/gds3d/Makefile @@ -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 |