Lua 5.2 (but not earlier or later versions) has a powerpc platform detection
check.
This check was not using the preferred define `__powerpc__` so fails to
trigger on gcc.
It also assumes that all of powerpc is big-endian.
Check a more universal preprocessor define, and add support for the
upcoming FreeBSD PowerPC64LE.
Submitted by: Daniel Kolesa <daniel@octaforge.org>
Reviewed by: luporl
Approved by: portmgr (blanket: runtime fix)
Differential Revision: https://reviews.freebsd.org/D26234
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
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
use pthreads.
Bump PORTREVISION to pull this in.
PR: ports/181052
Submitted by: Vitaly Magerya <vmagerya@gmail.com>
Approved by: mandree@ on behalf of lua@
According to Luiz Henrique de Figueiredo,
"Lua 5.2.2 fixes all bugs listed in http://www.lua.org/bugs.html#5.2.1 .
Lua 5.2.2 also fixes several other minors glitches and includes
a revised reference manual."
Lua is a programming language originally designed for extending applications,
but also frequently used as a general-purpose, stand-alone language. Lua
combines simple procedural syntax (similar to Pascal) with powerful data
description constructs based on associative arrays and extensible semantics.
Lua is dynamically typed, interpreted from bytecodes, and has automatic memory
management with garbage collection, making it ideal for configuration,
scripting, and rapid prototyping.
A fundamental concept in the design of Lua is to provide meta-mechanisms for
implementing features, instead of providing a host of features directly in
the language. For example, although Lua is not a pure object-oriented
language, it does provide meta-mechanisms for implementing classes and
inheritance. Lua's meta-mechanisms bring an economy of concepts and keep the
language small, while allowing the semantics to be extended in unconventional
ways. Extensible semantics is a distinguishing feature of Lua.
Lua is implemented as a small library of C functions, written in ANSI C, and
compiles unmodified in all known platforms. The implementation goals are
simplicity, efficiency, portability, and low embedding cost.
WWW: http://www.lua.org/
PR: ports/174437
Submitted by: Green Dog <fiziologus@gmail.com>