summaryrefslogtreecommitdiffstats
path: root/math/gambit
diff options
context:
space:
mode:
Diffstat (limited to 'math/gambit')
-rw-r--r--math/gambit/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/math/gambit/Makefile b/math/gambit/Makefile
index 3d3fae6..01fb578 100644
--- a/math/gambit/Makefile
+++ b/math/gambit/Makefile
@@ -30,7 +30,13 @@ LDFLAGS= ${PTHREAD_LIBS}
CFLAGS+= -O2 -fno-strict-aliasing
.endif
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 700042
+BROKEN= Broken with gcc 4.2
+.endif
+
post-patch:
@${REINPLACE_CMD} -e '/test/s|==|=|g' ${WRKSRC}/configure
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud