aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/fetchmail/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/mail/fetchmail/Makefile b/mail/fetchmail/Makefile
index 30d83740e3fc..b12470ecc6df 100644
--- a/mail/fetchmail/Makefile
+++ b/mail/fetchmail/Makefile
@@ -91,6 +91,11 @@ CONFIGURE_ARGS+= --enable-NTLM
PORTDOCS+= README.NTLM
.endif
+post-patch:
+.if !exists(/usr/lib/libcom_err.so)
+ @${REINPLACE_CMD} -e "s,-lcom_err,,g" ${WRKSRC}/configure
+.endif
+
post-build:
@${MAKE} -C ${WRKSRC} check