aboutsummaryrefslogtreecommitdiff
path: root/mail/lmtpd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/lmtpd/Makefile')
-rw-r--r--mail/lmtpd/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/mail/lmtpd/Makefile b/mail/lmtpd/Makefile
index adec844f2d85..baa4d9dc7163 100644
--- a/mail/lmtpd/Makefile
+++ b/mail/lmtpd/Makefile
@@ -16,8 +16,6 @@ COMMENT= LMTP server compliant with RFC 2033 and Maildir++
LIB_DEPENDS= home.1:${PORTSDIR}/misc/libhome
-BROKEN= does not compile
-
USE_ICONV= yes
OPTIONS= PCRE "Support for PCRE" on
@@ -99,6 +97,9 @@ post-patch:
${WRKSRC}/configure ; \
fi
.endif
+.if defined(WITH_TRE)
+ @${REINPLACE_CMD} -e "s|tre_r|libmtpd_&|g" ${WRKSRC}/re/re-tre.c
+.endif
post-install:
${INSTALL_DATA} ${WRKSRC}/samples/lmtpd.conf \