summaryrefslogtreecommitdiff
path: root/math/gambit/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/gambit/Makefile')
-rw-r--r--math/gambit/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/math/gambit/Makefile b/math/gambit/Makefile
index 3d3fae63a74b..01fb578d205b 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>