aboutsummaryrefslogtreecommitdiff
path: root/mail/opendkim
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2018-11-23 20:17:42 +0000
committerSteve Wills <swills@FreeBSD.org>2018-11-23 20:17:42 +0000
commita97bbbcc3c96155580d7529028cdd48cea265902 (patch)
tree700e9758edd2a053c341aa6209da56bb330fae4e /mail/opendkim
parent46dd499bc067a65272f1882f638dea660f0dca91 (diff)
downloadports-a97bbbcc3c96155580d7529028cdd48cea265902.tar.gz
ports-a97bbbcc3c96155580d7529028cdd48cea265902.zip
Notes
Diffstat (limited to 'mail/opendkim')
-rw-r--r--mail/opendkim/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/mail/opendkim/Makefile b/mail/opendkim/Makefile
index 9abe740f48e0..50da21652e3b 100644
--- a/mail/opendkim/Makefile
+++ b/mail/opendkim/Makefile
@@ -154,6 +154,12 @@ USES+= bdb
LDFLAGS+= -lpthread
.endif
+.include <bsd.port.pre.mk>
+
+.if ${PORT_OPTIONS:MLUA} && ${LUA_VER_STR} >= 53
+BROKEN= Does not build with Lua 5.3: miltertest.c:4171:54: error: too few arguments to function call, expected 5, have 4
+.endif
+
pre-configure:
${REINPLACE_CMD} -e '/PKG_CHECK_MODULES/s/lua5\.[0-9]/lua-${LUA_VER}/' \
-e '/PKG_CONFIG/s/cyrussasl/libsasl2/' \
@@ -169,4 +175,4 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/opendkim/opendkim.conf.sample \
${STAGEDIR}${PREFIX}/etc/mail/
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>