aboutsummaryrefslogtreecommitdiff
path: root/devel/clint/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/clint/Makefile')
-rw-r--r--devel/clint/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/clint/Makefile b/devel/clint/Makefile
index 9288152af72d..527dd29ab112 100644
--- a/devel/clint/Makefile
+++ b/devel/clint/Makefile
@@ -25,10 +25,16 @@ INSTALLS_SHLIB= yes
INFO= clint
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile with gcc 3.4.2"
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
's|-pedantic||g ; \
s|-ldl||g'
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>