aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2004-02-19 17:41:37 +0800
committerkris <kris@FreeBSD.org>2004-02-19 17:41:37 +0800
commit92a532c4d0b54e278a35f0d022c97110ad0610b2 (patch)
tree62145775b22251d0e8adf8a10ca8c6a6b9505bbf /mail
parent6c2ba45f14caef3914cdaa05820a831cd38fccce (diff)
downloadfreebsd-ports-graphics-92a532c4d0b54e278a35f0d022c97110ad0610b2.tar.gz
freebsd-ports-graphics-92a532c4d0b54e278a35f0d022c97110ad0610b2.tar.zst
freebsd-ports-graphics-92a532c4d0b54e278a35f0d022c97110ad0610b2.zip
FORBIDDEN on 5.x: links against conflicting thread libraries
Diffstat (limited to 'mail')
-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 b7290958cbc..114b9acc580 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>