aboutsummaryrefslogtreecommitdiff
path: root/math/tomsfastmath
diff options
context:
space:
mode:
Diffstat (limited to 'math/tomsfastmath')
-rw-r--r--math/tomsfastmath/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/math/tomsfastmath/Makefile b/math/tomsfastmath/Makefile
index 9d7f68ab5011..3041472c489f 100644
--- a/math/tomsfastmath/Makefile
+++ b/math/tomsfastmath/Makefile
@@ -22,7 +22,13 @@ USE_GMAKE= yes
ALL_TARGET= default
USE_REINPLACE= yes
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "sparc64"
+BROKEN= "Does not build on sparc64"
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's| ||' ${WRKSRC}/fp_montgomery_reduce.c
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>