Index: branches/2016Q4/lang/lua53/Makefile =================================================================== --- branches/2016Q4/lang/lua53/Makefile (revision 424621) +++ branches/2016Q4/lang/lua53/Makefile (revision 424622) @@ -1,79 +1,85 @@ # Created by: GreenDog # $FreeBSD$ PORTNAME= lua PORTVERSION= 5.3.3 +PORTREVISION= 1 CATEGORIES= lang MASTER_SITES= http://www.lua.org/ftp/ PKGNAMESUFFIX= 53 -MAINTAINER= ports@FreeBSD.org +PATCH_SITES= https://github.com/salazar/lua/commit/:bugfixes +PATCHFILES= fac3159120c9967f32c1147f894bd4a319d45425.diff:-p1:bugfixes \ + a555c584bb33989cc49017837903331ad1c5aa97.diff:-p1:bugfixes \ + 8ee844d13671a5c41d70f87709b3ea35fc8a4fd1.diff:-p1:bugfixes + +MAINTAINER= gmesalazar@gmail.com COMMENT= Small, compilable scripting language providing easy access to C code LICENSE= MIT USES= libedit LUA_VER= 5.3 USE_LDCONFIG= yes # Overriding __MAKE_CONF makes sure that we don't re-parse # /etc/make.conf during do-build, which would jeopardize the build # if, for instance, the user set CFLAGS=mumble # NOTE: /etc/make.conf is read BEFORE Makefile, so we already # have its settings when we get here. # See http://wiki.freebsd.org/MatthiasAndree/LuaLessonsLearnt MAKE_ARGS= __MAKE_CONF=${NONEXISTENT} # liblua.so requires libm, so make sure it has an explicit dependency # so that applications need not second-guess lua's dependencies. CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -lm -pthread BUILD_WRKSRC= ${WRKSRC}/src MAKE_ARGS+= MYCFLAGS="${CFLAGS} ${CPPFLAGS} -DLUA_USE_LINUX" \ MYLDFLAGS="${LDFLAGS}" \ MYLIBS="-Wl,-E -L${LOCALBASE}/lib -ledit" \ CC="${CC}" \ LUA_T=lua53 \ LUAC_T=luac53 \ LUA_A=liblua-${LUA_VER}.a \ LUA_SO=liblua-${LUA_VER}.so \ LUA_SONAME=liblua-${LUA_VER}.so \ TO_BIN="lua53 luac53" \ TO_LIB="liblua-${LUA_VER}.a liblua-${LUA_VER}.so" \ INSTALL_TOP=${STAGEDIR}${PREFIX} \ INSTALL_INC=${STAGEDIR}${PREFIX}/include/lua53 \ INSTALL_EXEC="${INSTALL_PROGRAM}" # Cope with the lack of support for Lua 5.2 in bsd.lua.mk. These # overrides, which are required below, should be removed once bsd.lua.mk # understands this lua version. LUA_PREFIX?= ${PREFIX} LUA_SUBDIR?= lua${PKGNAMESUFFIX} LUA_INCDIR?= ${LUA_PREFIX}/include/${LUA_SUBDIR} LUA_LIBDIR?= ${LUA_PREFIX}/lib SUB_FILES= lua-${LUA_VER}.pc SUB_LIST= version=${PORTVERSION} \ includedir=${LUA_INCDIR} \ libdir=${LUA_LIBDIR} \ soname=lua-${LUA_VER} CFLAGS+= -fPIC post-patch: @${REINPLACE_CMD} -e 's,rand *(,random(,g' \ ${WRKSRC}/src/lmathlib.c @${REINPLACE_CMD} -e "/LUA_ROOT/s|/usr/local|${LUA_PREFIX}| ; \ s,readline/,editline/,g ; \ /history\.h/d" \ ${WRKSRC}/src/luaconf.h ${WRKSRC}/src/lua.c post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/liblua-${LUA_VER}.so @${MV} ${STAGEDIR}${PREFIX}/man/man1/lua.1 \ ${STAGEDIR}${PREFIX}/man/man1/lua53.1 @${MV} ${STAGEDIR}${PREFIX}/man/man1/luac.1 \ ${STAGEDIR}${PREFIX}/man/man1/luac53.1 ${INSTALL_DATA} ${WRKDIR}/lua-${LUA_VER}.pc \ ${STAGEDIR}${PREFIX}/libdata/pkgconfig .include Index: branches/2016Q4/lang/lua53/distinfo =================================================================== --- branches/2016Q4/lang/lua53/distinfo (revision 424621) +++ branches/2016Q4/lang/lua53/distinfo (revision 424622) @@ -1,3 +1,9 @@ -TIMESTAMP = 1465493142 +TIMESTAMP = 1477006507 SHA256 (lua-5.3.3.tar.gz) = 5113c06884f7de453ce57702abaac1d618307f33f6789fa870e87a59d772aca2 SIZE (lua-5.3.3.tar.gz) = 294290 +SHA256 (fac3159120c9967f32c1147f894bd4a319d45425.diff) = 373f9507ea06a9fa66e745a82fe9c3b01c3aa059b056357e857b2bf0e2b0d129 +SIZE (fac3159120c9967f32c1147f894bd4a319d45425.diff) = 835 +SHA256 (a555c584bb33989cc49017837903331ad1c5aa97.diff) = 765ea1fc3e68c21fd279eafb6ed16dac6fcf1094e0d7199b58210a9593a73288 +SIZE (a555c584bb33989cc49017837903331ad1c5aa97.diff) = 668 +SHA256 (8ee844d13671a5c41d70f87709b3ea35fc8a4fd1.diff) = 7642f72f4b3a64a9e9c39171290db3278a5d35695d44c65c5d20683782436906 +SIZE (8ee844d13671a5c41d70f87709b3ea35fc8a4fd1.diff) = 689 Index: branches/2016Q4 =================================================================== --- branches/2016Q4 (revision 424621) +++ branches/2016Q4 (revision 424622) Property changes on: branches/2016Q4 ___________________________________________________________________ Modified: svn:mergeinfo ## -0,0 +0,1 ## Merged /head:r424620