aboutsummaryrefslogtreecommitdiff
path: root/mail/dcc-dccd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/dcc-dccd/Makefile')
-rw-r--r--mail/dcc-dccd/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/mail/dcc-dccd/Makefile b/mail/dcc-dccd/Makefile
index b7290958cbcd..114b9acc5808 100644
--- a/mail/dcc-dccd/Makefile
+++ b/mail/dcc-dccd/Makefile
@@ -32,10 +32,16 @@ CONFIGURE_ARGS+= --disable-dccm --disable-dccifd
PLIST_SUB+= WITH_SENDMAIL="@comment"
.endif
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502102
+FORBIDDEN= "Links against conflicting thread libraries"
+.endif
+
post-patch:
${FIND} ${WRKSRC} -type f -exec \
${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},g' {} \;
${REINPLACE_CMD} -e 's,-pthread,${PTHREAD_LIBS},g' \
${WRKSRC}/configure
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>