Commit graph

52 commits

Author SHA1 Message Date
wiz
d581a24b8b Update to 5.1.4:
Bugfix release.
2008-09-07 14:03:42 +00:00
jlam
a06055f4cb The lua library definitely needs the readline library around when
linking, so include readline/buildlink3.mk in lua/buildlink3.mk.
2008-02-27 18:59:38 +00:00
jlam
a8d45e1a94 + Remove dependency on ncurses (!!) of all things -- lua doens't have
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-27 18:52:16 +00:00
adam
6800e4b351 Changes 5.1.3:
* This is a bug-fix release.
2008-02-11 19:54:55 +00:00
wiz
a89d36b654 Remove ex-MASTER_SITEs. From Zafer Aydogan. 2007-12-02 00:10:40 +00:00
joerg
0b38b08309 Override /usr/local as LUA_ROOT and ensure that the default search path
matches the pkgsrc environment. Bump revision.

From Simon Schubert via IRC.
2007-07-02 13:36:38 +00:00
obache
52beb69044 Update lua to 5.1.2.
Patch provided by Holger Weiss in PR 36333.
And specify more platform target.

This release fixes all known bugs in 5.1.1.
2007-06-15 17:45:37 +00:00
joerg
79de670626 DESTDIR support. 2006-11-03 06:46:21 +00:00
abs
b2ef40e6f7 update lua to 5.1.1nb1 - fix build on linux (and hopefully some others) 2006-09-06 14:58:00 +00:00
rillig
3c0f27aa1d Fixed the path where the manual pages are installed. 2006-09-02 19:22:32 +00:00
wiz
c1f87ab1d4 Update to 5.1.1. Almost all dependencies need adaptation -> bump API.
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-08-14 22:31:39 +00:00
jlam
c16221a4db Change the format of BUILDLINK_ORDER to contain depth information as well,
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.

For example, "make show-buildlink3" in fonts/Xft2 displays:

	zlib
	fontconfig
	    iconv
	    zlib
	    freetype2
	    expat
	freetype2
	Xrender
	    renderproto
2006-07-08 23:10:35 +00:00
jlam
9430e49307 Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
2006-07-08 22:38:58 +00:00
rillig
8f2159e5e8 On Linux, -ldl must be included into the libtool archive to make other
packages work, for example games/fillet-ng. This fixes PR 31171.

Bumped PKGREVISION.
2006-06-01 06:52:27 +00:00
reed
2580a59ef1 Use PKGMANDIR. 2006-05-26 18:29:27 +00:00
rillig
96fc47c14f Aligned the last line of the buildlink3.mk files with the first line, so
that they look nicer.
2006-04-12 10:26:59 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +00:00
jlam
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
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.
2006-03-04 21:28:51 +00:00
reed
15c2f6db62 Set maintainer to tech-pkg. Bruce is not maintaining these
packages. Thank you Bruce for helping with pkgsrc.
2005-09-07 02:13:18 +00:00
jlam
7c866619ef Add ${BUILDLINK_LDADD.dl} to LIBS as lua has no configure script to
detect and add "-ldl" (on systems that need it) by itself during the
build.  This addresses pkg/31171.
2005-09-06 18:31:37 +00:00
jlam
bc9d159416 Libtoolize lua build. Since the shared library version has changed,
bump the PKGREVISION to 4, and set BUILDLINK_RECOMMENDED.lua appropriately
in the buildlink3.mk file.
2005-09-04 04:59:36 +00:00
minskim
64e70de383 Make libraries link against libdl if it is available. This fixes PR
pkg/29389.

Bump PKGREVISION.
2005-06-07 03:52:10 +00:00
minskim
6a660e824c Add BUILDLINK_LDADD.dl to LIBS instead of defining platform-specific LIBS. 2005-06-07 03:47:24 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
475ab002d7 Add RMD160 digests 2005-02-24 09:03:05 +00:00
minskim
01e3f21824 "-ldl" is needed to build on Linux. 2004-12-14 18:22:44 +00:00
wiz
6e02d7ee41 Rename ALL_TARGET to BUILD_TARGET for consistency with other *_TARGETs.
Suggested by Roland Illig, ok'd by various.
2004-12-03 15:14:50 +00:00
kristerw
ce9c9f7e51 Add -fPIC to CFLAGS to make this work on more architectures.
Bump PKGREVISION.

Thanks to Masao Uebayashi for the patch.
2004-10-23 19:10:25 +00:00
minskim
05c9134f25 Needs -ldl on Interix. 2004-10-15 21:17:50 +00:00
cube
a3d7a97543 o Unconditionally enable popen() support.
o Enable pkgviews installation (hi cube, the one from pkgsrcCon 2004 who
  forgot to commit this)

Bump PKGREVISION.
2004-10-02 20:54:59 +00:00
grant
0880f4dc02 set ${MAKE_ENV} in the environment before calling ${MAKE}. 2004-06-12 03:02:27 +00:00
grant
7e2c2c6d0e - don't hardcode CC=gcc
- don't hardcode RANLIB=ranlib
- don't pass gcc specific -W flags
- needs -ldl on Solaris
2004-06-12 03:01:59 +00:00
snj
010675143c No longer used. 2004-05-09 20:19:59 +00:00
xtraeme
8e369afbf8 Disable LUA_COMPATUPSYNTAX and LUA_COMPATVALUES, which are causing
trouble with some functions. This closes PR pkg/25248.
2004-05-02 17:40:27 +00:00
xtraeme
001fda0eff Increase BUILDLINK_DEPENDS to 5.0.2, because this is a known version that
works under !NetBSD platforms; suggested by Quentin Garnier.
2004-04-05 15:19:49 +00:00
xtraeme
da955d0738 Install bin2c binary located in ${WRKSRC}/etc, it's needed to build
some lua libraries; pointed out by pancake. No bump PKGREVISION this time.
2004-04-05 14:54:34 +00:00
xtraeme
6982011999 Update lua to 5.0.2, from Bruce J.A. Nourish via tech-pkg@.
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-04-05 02:31:06 +00:00
jlam
9ff0e10340 Reorder location and setting of BUILDLINK_PACKAGES to match template
buildlink3.mk file in revision 1.101 of bsd.buildlink3.mk.
2004-03-05 19:25:06 +00:00
cube
2fdaea31c4 bl3ification needed by new ion. Reported by Stoned Elipot and Krister
Walfridsson.  ``Oops''.
2004-02-24 00:05:26 +00:00
abs
b19732c89c Set 'MAKE_ENV+= NOGCCERROR=yes' to avoid a warning causing sparc64 build to
break. Reported to lua authors.
2004-01-26 13:55:14 +00:00
cube
0e065524f7 Compile and install etc/bin2c, which is expected by some modules. Fixes
PR 24219 by pancake at phreaker dot net.  Bump PKGREVISION.
2004-01-25 10:48:21 +00:00
cube
9a1e820add Update to 5.0.1. There is no changelog in the tarball, because it is a
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
2004-01-05 10:06:43 +00:00
cjep
c843a6ae2a Add trailing / to HOMEPAGEs 2003-12-30 17:27:31 +00:00
grant
0155927c43 s/netbsd.org/NetBSD.org/ 2003-07-17 21:41:05 +00:00
jschauma
e366d0c694 Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.
2003-06-02 01:15:31 +00:00
jtb
73eeabad22 Update to version 5.0.
* 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-29 23:33:56 +00:00
abs
09a901a902 Shorten COMMENT 2003-04-04 17:32:51 +00:00
jtb
ba9b6f63bc Update to version 4.0.1.
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)
2003-02-22 00:51:58 +00:00
salo
57163e4bf8 Add buildlink2.mk. It will be used by the updated elinks package. 2003-01-26 21:38:23 +00:00
agc
be9bc4ff1b Replace "${GTAR} cf - . | (cd ... ; ${GTAR} xf - )" pipelines with a
single instance of ${PAX}.
2001-11-14 14:47:53 +00:00