summaryrefslogtreecommitdiff
path: root/lang/lua/Makefile
AgeCommit message (Collapse)AuthorFilesLines
2009-11-05Override CC in the Makefiles as newer libtool does not handlejoerg1-1/+3
alternative compiler names without explicit tag.
2009-07-10Set LICENSE for lua.minskim1-1/+2
2009-05-30Unbreak shared library loading for cases when mk.conf explicitly setsjoerg1-4/+4
CFLAGS. Bump revision.
2009-05-20Recursive ABI depends update and PKGREVISION bump for readline-6.0 shlibwiz1-1/+2
major change. Reported by Robert Elz in PR 41345.
2009-01-20Use our INSTALL_DATA.sketch1-1/+2
2009-01-11Add module.mk for Lua packages.minskim1-2/+4
Suggested by Aleksey Cheusov on pkgsrc-users@.
2008-09-07Update to 5.1.4:wiz1-3/+2
Bugfix release.
2008-02-27+ Remove dependency on ncurses (!!) of all things -- lua doens't havejlam1-2/+2
any curses code in it. It only needs readline for the "io" module, and the readline/buildlink3.mk now handles pulling in any necessary dependencies for the terminal library that it uses. Bump the PKGREVISION to 1.
2008-02-11Changes 5.1.3:adam1-5/+4
* This is a bug-fix release.
2007-12-02Remove ex-MASTER_SITEs. From Zafer Aydogan.wiz1-4/+1
2007-07-02Override /usr/local as LUA_ROOT and ensure that the default search pathjoerg1-3/+3
matches the pkgsrc environment. Bump revision. From Simon Schubert via IRC.
2007-06-15Update lua to 5.1.2.obache1-4/+11
Patch provided by Holger Weiss in PR 36333. And specify more platform target. This release fixes all known bugs in 5.1.1.
2006-11-03DESTDIR support.joerg1-10/+11
2006-09-06update lua to 5.1.1nb1 - fix build on linux (and hopefully some others)abs1-1/+10
2006-08-14Update to 5.1.1. Almost all dependencies need adaptation -> bump API.wiz1-8/+16
Changes: * Changes from version 5.0 to 5.1 ------------------------------- Language: + new module system. + new semantics for control variables of fors. + new semantics for setn/getn. + new syntax/semantics for varargs. + new long strings and comments. + new `mod' operator (`%') + new length operator #t + metatables for all types API: + new functions: lua_createtable, lua_get(set)field, lua_push(to)integer. + user supplies memory allocator (lua_open becomes lua_newstate). + luaopen_* functionst must be called through Lua. Implementation: + new configuration scheme via luaconf.h. + incremental garbage collection. + better handling of end-of-line in the lexer. + fully reentrant parser (new Lua function `load') + better support for 64-bit machines. + native loadlib support for Mac OS X. + standard distribution in only one library (lualib.a merged into lua.a)
2006-06-01On Linux, -ldl must be included into the libtool archive to make otherrillig1-11/+13
packages work, for example games/fillet-ng. This fixes PR 31171. Bumped PKGREVISION.
2006-03-04Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where nojlam1-2/+2
developer is officially maintaining the package. The rationale for changing this from "tech-pkg" to "pkgsrc-users" is that it implies that any user can try to maintain the package (by submitting patches to the mailing list). Since the folks most likely to care about the package are the folks that want to use it or are already using it, this would leverage the energy of users who aren't developers.
2005-09-07Set maintainer to tech-pkg. Bruce is not maintaining thesereed1-2/+2
packages. Thank you Bruce for helping with pkgsrc.
2005-09-06Add ${BUILDLINK_LDADD.dl} to LIBS as lua has no configure script tojlam1-1/+2
detect and add "-ldl" (on systems that need it) by itself during the build. This addresses pkg/31171.
2005-09-04Libtoolize lua build. Since the shared library version has changed,jlam1-20/+24
bump the PKGREVISION to 4, and set BUILDLINK_RECOMMENDED.lua appropriately in the buildlink3.mk file.
2005-06-07Make libraries link against libdl if it is available. This fixes PRminskim1-2/+4
pkg/29389. Bump PKGREVISION.
2005-06-07Add BUILDLINK_LDADD.dl to LIBS instead of defining platform-specific LIBS.minskim1-4/+2
2005-04-11Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.tv1-2/+1
2004-12-14"-ldl" is needed to build on Linux.minskim1-1/+2
2004-12-03Rename ALL_TARGET to BUILD_TARGET for consistency with other *_TARGETs.wiz1-2/+2
Suggested by Roland Illig, ok'd by various.
2004-10-23Add -fPIC to CFLAGS to make this work on more architectures.kristerw1-2/+3
Bump PKGREVISION. Thanks to Masao Uebayashi for the patch.
2004-10-15Needs -ldl on Interix.minskim1-1/+2
2004-10-02o Unconditionally enable popen() support.cube1-1/+4
o Enable pkgviews installation (hi cube, the one from pkgsrcCon 2004 who forgot to commit this) Bump PKGREVISION.
2004-06-12set ${MAKE_ENV} in the environment before calling ${MAKE}.grant1-2/+2
2004-06-12- don't hardcode CC=gccgrant1-1/+4
- don't hardcode RANLIB=ranlib - don't pass gcc specific -W flags - needs -ldl on Solaris
2004-04-05Install bin2c binary located in ${WRKSRC}/etc, it's needed to buildxtraeme1-1/+5
some lua libraries; pointed out by pancake. No bump PKGREVISION this time.
2004-04-05Update lua to 5.0.2, from Bruce J.A. Nourish via tech-pkg@.xtraeme1-17/+8
Lua 5.0.2 is a bugfix release, which contains the following fixes: src/ldo.c Attempt to resume running coroutine crashed Lua src/lgc.c C functions also may have stacks larger than current top Userdata to be collected still counted into new GC threshold src/lgc.h Userdata to be collected still counted into new GC threshold src/lparser.c Syntax `local function' did not increment stack size src/lvm.c `pc' address was invalidated when a coroutine was suspended Count hook might be called without being set src/lib/lbaselib.c Buffer overflow for unusual %p representation Wrong number of returns from chunks loaded from stdin src/lib/liolib.c `file.close()' could not be called without arguments Buffer overflow for unusual %p representation src/luac/luac.c Missing lock/unlock
2004-02-24bl3ification needed by new ion. Reported by Stoned Elipot and Kristercube1-2/+2
Walfridsson. ``Oops''.
2004-01-26Set 'MAKE_ENV+= NOGCCERROR=yes' to avoid a warning causing sparc64 build toabs1-3/+4
break. Reported to lua authors.
2004-01-25Compile and install etc/bin2c, which is expected by some modules. Fixescube1-1/+2
PR 24219 by pancake at phreaker dot net. Bump PKGREVISION.
2004-01-05Update to 5.0.1. There is no changelog in the tarball, because it is acube1-2/+2
pre-release. However, it is unlikely to change for the final release of 5.0.1. Fixed bugs: 1. lua_closethread exists only in the manual 2. attempt to resume a running coroutine crashes Lua 3. file:close cannot be called without a file. (results in seg. fault) 4. C functions may have stacks larger than current top 5. `pc' address is invalidated when a coroutine is suspended 6. userdata to be collected still counts into new GC threshold, increasing memory consumption 7. IBM AS400 (OS400) has sizeof(void *)==16, and a `%p' may generate up to 60 characters in a `printf'. That causes a buffer overflow in `tostring'. 8. syntax `local function' does not increment stack size 9. count hook may be called without being set
2003-12-30Add trailing / to HOMEPAGEscjep1-2/+2
2003-07-17s/netbsd.org/NetBSD.org/grant1-2/+2
2003-06-02Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.jschauma1-2/+2
Should anybody feel like they could be the maintainer for any of thewe packages, please adjust.
2003-04-29Update to version 5.0.jtb1-8/+10
* Changes from version 4.0 to 5.0 ------------------------------- Language: + lexical scoping. + Lua coroutines. + standard libraries now packaged in tables. + tags replaced by metatables and tag methods replaced by metamethods, stored in metatables. + proper tail calls. + each function can have its own global table, which can be shared. + new __newindex metamethod, called when we insert a new key into a table. + new block comments: --[[ ... ]]. + new generic for. + new weak tables. + new boolean type. + new syntax "local function". + (f()) returns the first value returned by f. + {f()} fills a table with all values returned by f. + \n ignored in [[\n . + fixed and-or priorities. + more general syntax for function definition (e.g. function a.x.y:f()...end). + more general syntax for function calls (e.g. (print or write)(9)). + new functions (time/date, tmpfile, unpack, require, load*, etc.). API: + chunks are loaded by using lua_load; new luaL_loadfile and luaL_loadbuffer. + introduced lightweight userdata, a simple "void*" without a metatable. + new error handling protocol: the core no longer prints error messages; all errors are reported to the caller on the stack. + new lua_atpanic for host cleanup. + new, signal-safe, hook scheme. Implementation: + new license: MIT. + new, faster, register-based virtual machine. + support for external multithreading and coroutines. + new and consistent error message format. + the core no longer needs "stdio.h" for anything (except for a single use of sprintf to convert numbers to strings). + lua.c now runs the environment variable LUA_INIT, if present. It can be "@filename", to run a file, or the chunk itself. + support for user extensions in lua.c. sample implementation given for command line editing. + new dynamic loading library, active by default on several platforms. + safe garbage-collector metamethods. + precompiled bytecodes checked for integrity (secure binary dostring). + strings are fully aligned. + position capture in string.find. + read('*l') can read lines with embedded zeros.
2003-04-04Shorten COMMENTabs1-2/+2
2003-02-22Update to version 4.0.1.jtb1-8/+22
Added my own makefiles to create shared versions of the libraries using bsd.lib.mk. Changes in Lua itself: lua/src/lapi.c lua/src/lstring.c Fixed a bug in lua_pushuserdata(L, NULL) lua/src/ldo.c lua/src/lgc.c lua/src/lgc.h Give a good chance for GC before parsing lua/src/lparser.c Fixed a bug (did not accept `;' after a `return') lua/src/lvm.c Fixed a bug (linehook off by 1) lua/src/lib/lbaselib.c Fixed a bug in rawget and rawset (seg. fault if given extra arguments) Fixed a bug in dostring (identification of precompiled chunks)
2001-11-14Replace "${GTAR} cf - . | (cd ... ; ${GTAR} xf - )" pipelines with aagc1-3/+2
single instance of ${PAX}.
2001-06-19Initial import of lua.jtb1-0/+33
Lua is a powerful, light-weight programming language designed for extending applications. Lua is 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, making it ideal for configuration, scripting, and rapid prototyping. Lua is a language engine that you can embed into your application. This means that, besides syntax and semantics, Lua has an API that allows the application to exchange data with Lua programs and also to extend Lua with C functions. In this sense, Lua can be regarded as a language framework for building domain-specific languages. 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. The result is a fast language engine with small footprint, making it ideal in embedded systems too.