svn commit: r485703 - head/mail/opendkim
Steve Wills
swills at FreeBSD.org
Fri Nov 23 20:17:43 UTC 2018
Author: swills
Date: Fri Nov 23 20:17:42 2018
New Revision: 485703
URL: https://svnweb.freebsd.org/changeset/ports/485703
Log:
mail/opendkim: mark broken with Lua 5.3 and higher
PR: 232953
Reported by: pr at aoek.com
Approved by: Daniel Austin <freebsd-ports at dan.me.uk> (maintainer)
Modified:
head/mail/opendkim/Makefile (contents, props changed)
Modified: head/mail/opendkim/Makefile
==============================================================================
--- head/mail/opendkim/Makefile Fri Nov 23 20:10:23 2018 (r485702)
+++ head/mail/opendkim/Makefile Fri Nov 23 20:17:42 2018 (r485703)
@@ -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>
More information about the svn-ports-all
mailing list