This release fixes all bugs listed here: https://www.lua.org/bugs.html#5.3.5
While we're here, do some cleanup work in preparation for an impending
lang/lua54 port:
- Various reordering to appease portclippy
- The patch to src/Makefile has been renamed to match the standard naming
convention since it was relatively close
- Use ${LUA_VER_STR} in place of again writing out the version string
- Use various LUA_* substitutions in the plist to reduce change on new
versions
The latter two have actually been backported from the submitted lua54 port
in D14709, rather than being included in the original submission, to make
the diff between lang/lua53 and lang/lua54 more obvious.
Submitted by: Russ Haley <russ haley gmail com>
Submitted with: Andrew Gierth <andrew_tao173 riddles org uk>
Differential Revision: https://reviews.freebsd.org/D25797
Ports using USES=lua:module or lua:flavors will be flavored. A range of
supported lua versions can be set using XX-YY (or XX-, or -YY, or simply ZZ)
for ports not supporting all lua versions.
USES=lua sets LUA_FLAVOR that needs to be used on all dependencies of
flavored lua ports, in a similar way as PHP or Python flavors.
PR: 245038
Submitted by: andrew tao11 riddles org uk
Reviewed by: mat, kevans, russ haley gmail com
Approved by: mat (portmgr)
Differential Revision: https://reviews.freebsd.org/D16494
- Cleanup of variables
- Use the 'bsd' target for build stage
- Add options to to select interactive command line editing
- Add options to control debug options
- Add option for HTML documentation
- No change log provided upstream
Submitted by: Russel Haley (russ.haley@gmail.com)
Andrew Gierth (andrew_tao173.riddles.org.uk)
Differential Revision: https://reviews.freebsd.org/D13690
Details:
- This is the second bit of the patch in PR 222581
- Guilherme Salazar <gmesalazar@gmail.com>, the previous maintainer,
has confirmed the transfer of maintainership via e-mail
PR: 222581
Submitted by: russ.haley@gmail.com (new maintainer)
Approved by: gmesalazar@gmail.com (previous maintainer, via email)
MFH: 2017Q4
Details
- Import upstream patches for known runtime errors
and crashes in lua 5.3.4
Details, see https://www.lua.org/bugs.html
in the section on version 5.3.4
PR: 222581
Submitted by: russ.haley@gmail.com
Approved by: maintainer timeout
MFH: 2017Q4
The Lua team maintains a list of bugs found in each release of Lua since
4.0 [1] with examples that show the bug and a patch when the fix is
available.
This patch adds all three bug fixes available so far. A fourth bug fix
should be made available soon to fix a recently-found bug in coroutines.
To make it easier to track changes for each patch, a GitHub repository
[2] has been created with the Lua distribution and patches so they can
be referenced by commit id.
- Pass MAINTAINER'ship to Submitter, who is also a member of the NetBSD
Lua team. (Thanks!)
[1] https://www.lua.org/bugs.html
[2] https://github.com/salazar/lua
PR: 213658
Submitted by: Guilherme Salazar <gmesalazar gmail com>
MFH: 2014Q4
Since the object files get built into a shared lib, using -fPIC on all
arches is the right thing to do, instead of adding it to each new arch that
comes along which doesn't accidentally allow non-PIC modules in shared libs.
PR: 207324
Approved by: mat(mentor)
Differential Revision: https://reviews.freebsd.org/D5362
The ?= assignment of CFLAGS (not present in earlier lua5x patches) results
in MYCFLAGS, passed from the port makefile, never getting assigned to CFLAGS
during the lua build. The result is a copy of lua that has none of the posix
support functions in it.
CFLAGS set in the outer environment by the user or make.conf get passed in
via the MYCFLAGS mechanism, so remove the -O2 and let the outer environment
control optimization level.
Approved by: mat(mentor)
Differential Revision: https://reviews.freebsd.org/D5256
Prevent /usr/lib/libedit.so from being used over
/usr/local/lib/libedit.so.0 from devel/libedit
Note: libedit should be made into a USES
Reported by: sunpoet
Pointy hat to: myself (pgollucci)