svn commit: r356817 - head/mail/mailfront
Antoine Brodin
antoine at FreeBSD.org
Fri Jun 6 15:47:08 UTC 2014
Author: antoine
Date: Fri Jun 6 15:47:07 2014
New Revision: 356817
URL: http://svnweb.freebsd.org/changeset/ports/356817
QAT: https://qat.redports.org/buildarchive/r356817/
Log:
Unbreak, this port needs lua51
Reported by: pkg-fallout
PR: ports/190696
Modified:
head/mail/mailfront/Makefile
Modified: head/mail/mailfront/Makefile
==============================================================================
--- head/mail/mailfront/Makefile Fri Jun 6 15:45:08 2014 (r356816)
+++ head/mail/mailfront/Makefile Fri Jun 6 15:47:07 2014 (r356817)
@@ -37,7 +37,7 @@ DOCS= NEWS README TODO *.html
.if ${PORT_OPTIONS:MLUA}
ALL_TARGET+= lua
-USES+= lua
+USES+= lua:51
CFLAGS+= -I${LUA_INCDIR}
CFLAGS_SO+= -L${LUA_LIBDIR}
LDFLAGS+= -L${LUA_LIBDIR}
@@ -56,6 +56,9 @@ do-configure:
${ECHO_CMD} "${BGLIBS_LIB}" > ${WRKSRC}/conf-bglibs
${ECHO_CMD} "${QMAIL_PREFIX}" > ${WRKSRC}/conf-qmail
+post-patch:
+ @${REINPLACE_CMD} 's,-llua,-llua-${LUA_VER},' ${WRKSRC}/Makefile
+
.if ${PORT_OPTIONS:MDOCS}
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
More information about the svn-ports-all
mailing list