aboutsummaryrefslogtreecommitdiff
path: root/devel/jakelib2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/jakelib2/Makefile')
-rw-r--r--devel/jakelib2/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/jakelib2/Makefile b/devel/jakelib2/Makefile
index a43098dea9e0..8cf2833441bd 100644
--- a/devel/jakelib2/Makefile
+++ b/devel/jakelib2/Makefile
@@ -27,7 +27,13 @@ CONFIGURE_ARGS= --disable-debug
USE_LDCONFIG= yes
INFO= jakelib2
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 700042
+BROKEN= Broken with gcc 4.2
+.endif
+
post-patch:
@${REINPLACE_CMD} -e "s|-lpthread|${PTHREAD_LIBS}|g" ${WRKSRC}/configure
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>