aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2021-11-16 12:03:45 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2021-11-16 12:03:45 +0000
commitff5ae1981ca6f5b1670b9e72f2b29effa3b39450 (patch)
treee5d6499882fc66c6707c43a1062426bb82f0e997
parent38b2862d44cccb962b8e7b70c9737518fc7b973c (diff)
downloadports-ff5ae1981ca6f5b1670b9e72f2b29effa3b39450.tar.gz
ports-ff5ae1981ca6f5b1670b9e72f2b29effa3b39450.zip
-rw-r--r--cad/gds3d/Makefile6
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