1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-07 11:49:40 +00:00

mail/opendkim: mark broken with Lua 5.3 and higher

PR:		232953
Reported by:	pr@aoek.com
Approved by:	Daniel Austin <freebsd-ports@dan.me.uk> (maintainer)
This commit is contained in:
Steve Wills 2018-11-23 20:17:42 +00:00
parent 46dd499bc0
commit a97bbbcc3c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=485703

View File

@ -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>