svn commit: r351724 - in head/dns: dnsmasq dnsmasq-devel
Baptiste Daroussin
bapt at FreeBSD.org
Mon Apr 21 21:56:55 UTC 2014
Author: bapt
Date: Mon Apr 21 21:56:54 2014
New Revision: 351724
URL: http://svnweb.freebsd.org/changeset/ports/351724
QAT: https://qat.redports.org/buildarchive/r351724/
Log:
Switch to use lua 5.2
Modified:
head/dns/dnsmasq-devel/Makefile
head/dns/dnsmasq/Makefile
Modified: head/dns/dnsmasq-devel/Makefile
==============================================================================
--- head/dns/dnsmasq-devel/Makefile Mon Apr 21 21:41:24 2014 (r351723)
+++ head/dns/dnsmasq-devel/Makefile Mon Apr 21 21:56:54 2014 (r351724)
@@ -62,7 +62,7 @@ CFLAGS+= -DHAVE_DBUS
.if ${PORT_OPTIONS:MLUA}
CFLAGS+= -DHAVE_LUASCRIPT
-USE_LUA= 5.1
+USES+= lua
.endif
.if ${PORT_OPTIONS:MDNSSEC}
@@ -76,7 +76,7 @@ USE_RC_SUBR= dnsmasq
.include <bsd.port.pre.mk>
post-patch:
- ${REINPLACE_CMD} -e "s/lua5\.1/lua-5.1/" ${WRKSRC}/Makefile
+ ${REINPLACE_CMD} -e "s/lua5\.1/lua-${LUA_VER}/" ${WRKSRC}/Makefile
pre-configure:
@:
Modified: head/dns/dnsmasq/Makefile
==============================================================================
--- head/dns/dnsmasq/Makefile Mon Apr 21 21:41:24 2014 (r351723)
+++ head/dns/dnsmasq/Makefile Mon Apr 21 21:56:54 2014 (r351724)
@@ -72,8 +72,8 @@ LDFLAGS+= `pkg-config --libs dbus-1`
.if ${PORT_OPTIONS:MLUA}
CPPFLAGS+= -I${LUA_INCDIR}
CFLAGS+= -DHAVE_LUASCRIPT
-LDFLAGS+= -L${LUA_LIBDIR} -llua
-USE_LUA= 5.1
+LDFLAGS+= -L${LUA_LIBDIR} -llua-${LUA_VER}
+USES+= lua
.endif
.if ${PORT_OPTIONS:MDNSSEC}
@@ -89,7 +89,7 @@ USE_RC_SUBR= dnsmasq
LDFLAGS+= -L${LOCALBASE}/lib ${_intllibs} ${ICONV_LIB}
post-patch:
- ${REINPLACE_CMD} -e "s/lua5\.1/lua-5.1/" ${WRKSRC}/Makefile
+ ${REINPLACE_CMD} -e "s/lua5\.1/lua-${LUA_VER}/" ${WRKSRC}/Makefile
pre-configure: pretty-print-config
@${PRINTF} "dns/libidn config: " ; ${MAKE} -C ${PORTSDIR}/dns/libidn pretty-print-config
More information about the svn-ports-head
mailing list