diff options
Diffstat (limited to 'math/manifold/Makefile')
-rw-r--r-- | math/manifold/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/math/manifold/Makefile b/math/manifold/Makefile index b0a58d18e12e..f15d9c8f5851 100644 --- a/math/manifold/Makefile +++ b/math/manifold/Makefile @@ -34,6 +34,13 @@ CMAKE_OFF= MANIFOLD_DOWNLOADS \ USE_LDCONFIG= yes +.include <bsd.port.options.mk> + +pre-configure: +.if ${ARCH} == "i386" || ${ARCH} == "armv7" + ${REINPLACE_CMD} -e 's|-Werror|-Wno-format|' ${WRKSRC}/CMakeLists.txt +.endif + do-test: (cd ${BUILD_WRKSRC}/test && ./manifold_test) |