Commit graph

98 commits

Author SHA1 Message Date
gutteridge
9bd23e2b56 lua: fix typo in luaversion.mk 2020-08-25 22:46:24 +00:00
nia
3ce94a9ee4 lang/module.mk: using rm: is probably more portable here 2020-07-11 15:33:51 +00:00
nia
0a42861785 lua/module.mk: Avoid compiling Lua 5.3 modules with -ansi 2020-07-11 15:30:52 +00:00
nia
59d7fb0955 Add LUA_LINKER_MAGIC variable that centrally sets LDFLAGS on Darwin,
as should probably have been done to begin with. Remove per-package hacks.
2020-07-11 15:14:29 +00:00
nia
87593f60ce lua: Add PLIST_AWK for LUA_DOCDIR 2020-07-09 15:01:53 +00:00
nia
22948160f1 lua: move cmake bits to per-interpreter buildlink3s 2020-07-02 21:42:23 +00:00
nia
1da0d7784f lua: cmake support in luaversion.mk 2020-07-02 20:43:26 +00:00
nia
dcff4cb7ef lua: Add support to the infrastructure to Lua 5.4
Much more testing is required before this can be a default.
2020-06-30 14:45:05 +00:00
nia
21d9e9d820 lua: Set the default version to 5.3.
Discussed on tech-pkg@ before freeze.
2020-03-30 09:38:05 +00:00
rillig
c376a0fbc1 lang/lua: fix typo for PKG_FAIL_REASON in luaversion.mk 2018-07-23 22:22:42 +00:00
rillig
17e39f419d Fix indentation in buildlink3.mk files.
The actual fix as been done by "pkglint -F */*/buildlink3.mk", and was
reviewed manually.

There are some .include lines that still are indented with zero spaces
although the surrounding .if is indented. This is existing practice.
2018-01-07 13:03:53 +00:00
wiz
25cc733919 Instead of having only lua.pc, provide both the versioned pkg-config file
and the unversioned one.

As discussed on tech-pkg.
2015-07-20 11:30:54 +00:00
ryoon
74f676c6c8 -llua* is required for Cygwin build. 2015-03-05 14:15:45 +00:00
jperkin
769fc7cfa4 Put back autodetection of LUA_VERSION_REQD based on the package name. 2015-02-16 10:52:34 +00:00
obache
b030d9a281 revert "Auto detect lua version from required package name.",
proposed/discussed is required for such changes.
2015-02-01 11:21:23 +00:00
alnsn
58e1c640ff Add support for Lua 5.3. 2015-01-17 17:54:59 +00:00
obache
eafc44a3e1 Auto detect lua version from required package name.
resolve PR pkg/49318
2014-12-07 05:10:43 +00:00
alnsn
c461d713e4 Multiversion support for Lua. 2014-05-03 13:00:44 +00:00
obache
91760a0431 Fixes missing ":" 2013-11-05 11:26:44 +00:00
obache
b0a11eac4b LUA_PACKAGE is defined for build, not LUAPACKAGE. 2013-10-30 10:52:53 +00:00
obache
3d6753d5ed Use LOCALEBASE, PREFIX may be package specific one and different than lua. 2013-10-30 09:09:59 +00:00
obache
4e4ab08e1e make sure varable is defined before using it. 2013-10-30 08:53:40 +00:00
dholland
6ee03947a2 typo, spotted by Andrey Oktyabrskiy 2013-10-30 06:53:19 +00:00
dholland
7d313c888d Reimport lang/lua as lang/lua52, and bring back the previous Lua 5.1
package as lang/lua51.

I've adjusted the depends and switched the PKGNAMEs but these packages
are otherwise unchanged. This means that you can't install both at
once. There are preliminary patches for that (see tech-pkg) but they
aren't quite ready yet.

This also doesn't include agc's builtin.mk, although it should be
possible to drop it into the lua51 package with only very minor
modifications. I don't think the builtin packages will allow having
one builtin.mk for both lua51 and lua52, but I'd be happy to be shown
wrong about that.

Add infrastructure support for Lua module packages (including
multiversion support), application packages written in Lua, and a
redirecting bl3.mk file for packages that just link Lua in. This is
based on the Python infrastructure.

The new variable LUA_VERSION_DEFAULT picks which Lua package you get
by default; it is set to 52 so as to maintain the status quo.

Packages can set LUA_VERSIONS_ACCEPTED and/or LUA_VERSIONS_INCOMPATIBLE.
I have found (I think) most or all the packages that don't work with
lua51 and will be marking those; I have not tracked down most of the
ones that don't work with lua52 yet as I was originally intending to
roll back to 5.1 as the default.
2013-10-30 06:18:09 +00:00
joerg
a48c0629e7 print-PLIST support for LUA_LDIR/LUA_CDIR. 2013-09-17 12:03:09 +00:00
ryoon
f8e628f818 * .include "../../devel/readline/buildlink3.mk" with USE_GNU_READLINE=yes
are replaced with .include "../../devel/readline/buildlink3.mk", and
  USE_GNU_READLINE are removed,

* .include "../../devel/readline/buildlink3.mk" without USE_GNU_READLINE
  are replaced with .include "../../mk/readline.buildlink3.mk".
2013-07-15 02:02:17 +00:00
adam
3132632bfa Lua 5.2 was released on 16 Dec 2011. Its main new features are yieldable pcall and metamethods, new lexical scheme for globals, ephemeron tables, new library for bitwise operations, light C functions, emergency garbage collector, goto statement, and finalizers for tables. 2013-07-04 18:04:42 +00:00
asau
88feb4ac62 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-02 20:11:34 +00:00
wiz
2b0b56df41 Update to 5.1.5.
Lua 5.1.5 released. This is a bug-fix release.
(no further changelog found)

Remove master site that doesn't have new tarball.
Fix pkglint warning in patch-ac.
2012-03-12 15:49:27 +00:00
dholland
0654e0e108 Belated revbump for Makefile rev 1.45 (from January), which changed
the linkage of the package and gives me a non-broken liblua.so on
current. The one I had around from sometime last year had broken
compatibility references in it.
2011-10-03 04:29:24 +00:00
zafer
02f6b1f280 update master_sites. remove dead mirrors. 2011-03-11 12:44:30 +00:00
adam
ce7956aa04 Pass LDFLAGS during linking; pkglint clean-up 2011-01-19 13:46:13 +00:00
dholland
b54e5f1cd6 Apply Solaris build fix from Joern Clausen in PR 43350. 2010-05-28 05:35:50 +00:00
jmmv
1a6121ebce Fix build with new libtool by specifying --tag=CC in all calls. 2009-12-17 16:42:45 +00:00
joerg
646dd8b85d Override CC in the Makefiles as newer libtool does not handle
alternative compiler names without explicit tag.
2009-11-05 18:03:49 +00:00
ahoka
f2150e714a Honour compiler selection. 2009-10-30 18:34:56 +00:00
minskim
cbaafa1e97 Set LICENSE for lua. 2009-07-10 20:30:21 +00:00
joerg
76039544d1 Remove @dirrm related logic. 2009-06-14 22:57:58 +00:00
joerg
edbc2fac64 Replace @exec/@unexec with @pkgdir or drop it. 2009-06-14 20:34:12 +00:00
joerg
62d1ba2bac Remove @dirrm entries from PLISTs 2009-06-14 18:03:28 +00:00
joerg
d2e6ad1de3 Unbreak shared library loading for cases when mk.conf explicitly sets
CFLAGS. Bump revision.
2009-05-30 16:08:58 +00:00
wiz
272d51cc21 Recursive ABI depends update and PKGREVISION bump for readline-6.0 shlib
major change.

Reported by Robert Elz in PR 41345.
2009-05-20 00:58:05 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +00:00
obache
e4a95c963b Add to PRINT_PLIST_AWK for LUA_LDIR and LUA_CDIR. 2009-01-24 02:56:19 +00:00
sketch
3948e33bd7 Use our INSTALL_DATA. 2009-01-20 16:30:39 +00:00
minskim
e20441ad00 Add module.mk for Lua packages.
Suggested by Aleksey Cheusov on pkgsrc-users@.
2009-01-11 23:15:55 +00:00
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