Commit Graph

86 Commits

Author SHA1 Message Date
dcoppa
59a0a201a4 Make Lua C modules load dynamic libraries with global symbols (use
RTLD_GLOBAL like lua-5.2 does)

ok jasper@
2012-11-09 08:36:44 +00:00
gsoares
14262d8a99 add MODLUA_BIN to SUBST_VAR
no bump needed in lua packages, since this doesn't affect generated packages

OK jasper@ sthen@
2012-10-31 13:39:32 +00:00
jasper
7881cf1c45 the heuristic to set pkg_arch was wrong; so remove it alltogether. 2012-09-19 08:14:51 +00:00
sthen
c40bb774c3 XXX comment, PKG_ARCH=* is set too easily. Add reminder to remove workaround
from games/freedroidrpg when this is fixed.
2012-08-05 08:07:28 +00:00
jasper
af916f73a3 add MODLUA_DEP_VERSION to SUBST_VARS 2012-07-19 20:25:16 +00:00
jasper
bb57cf2769 fix net/nmap 2012-07-12 12:54:50 +00:00
jasper
92a0eb7c2b check for invalid modlua_versions 2012-07-11 10:10:57 +00:00
jasper
f1ab9af1e0 redo flavor handling 2012-07-11 10:06:11 +00:00
jasper
89882b25dc start fixing flavors 2012-07-10 18:34:26 +00:00
jasper
71ba6a5b3e if a port already has flavors, allow it to use the lua52 flavor too.
spotted by william@
2012-07-10 17:14:53 +00:00
jasper
9a3fabe227 - update to 5.2.1 2012-07-10 15:23:43 +00:00
jasper
1ab04af85e - rewrite lua.port.mk to support multiple lua versions.
written and rewritten above and in budapest, with some help from sthen@ (and his cider)
2012-07-10 15:09:25 +00:00
jasper
e5fed29a14 remove lua 5.1 leftovers 2012-07-10 15:07:55 +00:00
jasper
511ec1da34 add lua 5.2 2012-07-10 15:06:21 +00:00
jasper
4d5f9beaf3 Move lua 5.1 into it's own directory 2012-07-10 15:04:52 +00:00
jasper
7aedd86c8a drop an underscore 2012-05-15 19:24:21 +00:00
jasper
2da6934e08 add MODLUA_BUILD_DEP and rename MODLUA_RUN_DEP for consistency 2012-05-15 18:14:44 +00:00
jasper
b089987cb2 add support for retrieving MODLUA_WANTLIB and MODLUA_LIB_DEPENDS through the module. 2012-05-15 18:03:18 +00:00
jasper
18e764b415 add MODLUA_EXAMPLEDIR too 2012-05-15 15:11:06 +00:00
jasper
1eff428b0f add MODLUA_DOCDIR, this will help when we have two lua versions with which
ports can be built with..
2012-05-15 12:25:17 +00:00
jasper
629d37ace8 add MODLUA_VERSION to SUBST_VARS, this will ease the PLIST churn when
lua gets updated to 5.2...
2012-05-11 20:48:38 +00:00
dcoppa
5d183607b4 Bugfix update to lua-5.1.5 (it's just lua-5.1.4 plus the distribution patch) 2012-03-29 08:51:26 +00:00
sthen
929d19b9ba Remove local strlcpy/etc patches, we aren't generally patching these in
ports any more (they should be addressed upstream instead) and at least
some of them are wrong. This fixes a bug found by Piotr Sikora:
http://permalink.gmane.org/gmane.os.openbsd.ports/53993
2012-03-07 13:14:26 +00:00
sthen
72f6de4667 honour CC 2011-12-04 21:12:19 +00:00
sthen
810729526a update to Lua 5.1.4 patch 4, from James Turner 2011-12-04 14:16:44 +00:00
sthen
6ec21823cd Support MODLUA_RUNDEP to control adding lua to RUN_DEPENDS, from Simon Kuhnle 2011-11-17 23:48:13 +00:00
jasper
2e250b49da Add latest patch from upstream, 5.1.4-3 2011-08-25 07:02:42 +00:00
espie
88d20077a4 new depends 2010-11-17 08:05:12 +00:00
sthen
f916ff61b1 new lib_depends/revision 2010-10-24 21:06:28 +00:00
espie
88dd25abf4 USE_GROFF=Yes 2010-10-18 19:20:41 +00:00
jasper
02404b0b7d - automatically set PKG_ARCH=* when SHARED_ONLY is not set
ok sthen@
2010-09-09 17:32:36 +00:00
jasper
ac07b715a2 tyop 2010-06-15 22:05:24 +00:00
jasper
aaadc7ef3b - tweak names to have the "MOD" prefix. 2010-06-15 21:20:39 +00:00
jasper
38d11011eb - introduce LUA_VERSION, LUA_LIBDIR and LUA_DATADIR. the latter two are
duplicated in (almost) every lua port, so they should move to lua.port.mk
* lua modules will be switched over soon

ok landry@ jolan@
2010-06-15 21:17:46 +00:00
jasper
2a6664cc2a - zap dead master site 2010-06-15 20:27:23 +00:00
dcoppa
0ad1957d15 Merge patches from upstream errata page.
While here, adjust PKGNAME and use SUBST_CMD instead of the usual
"perl dance".

OK sthen@
2010-05-17 08:18:59 +00:00
jolan
a6aaf1d4f3 remove patch that causes math.randomseed() to not function
reported/debugged by M Joonas Pihlaja in pr 6176
2009-06-24 14:19:06 +00:00
jsg
b0139828d6 Update to 5.1.4 a bugfix release, see
http://www.lua.org/bugs.html for more information.

tested by a bunch of people,
'looks correct' mbalmer@, ok sthen@
2008-11-07 12:23:12 +00:00
landry
89421d9037 Add a simple lua MODULE, can be used by potential new lua ports.
ok wcmaier@ ajacoutot@
2008-06-11 05:00:01 +00:00
okan
44e179f9d9 update to 5.1.3 from Christian Rueger - thanks!
ok merdely@
2008-04-19 17:59:32 +00:00
jolan
0d23414c4a re-unhardcode /usr/local 2007-10-29 22:38:42 +00:00
espie
4c64f036a5 obvious dependency fix.
also regen patches.
2007-10-29 20:30:32 +00:00
merdely
f525d52359 Remove surrounding quotes in COMMENT*/PERMIT_*/BROKEN 2007-09-16 00:27:05 +00:00
jolan
85fd4335b9 prevent lua from blowing up the c stack
from lua author roberto ierusalimschy via pedro martelletto
2007-09-15 09:42:57 +00:00
mbalmer
34209deb75 Remove Pedro Martelleto as MAINTAINER per his own request.
ok espie
2007-08-05 12:34:33 +00:00
espie
9eafbbfb35 base64 checksums. 2007-04-05 16:19:55 +00:00
pedro
1bbf9e3c7e Lua 5.1.2, okay sturm@ 2007-04-03 07:05:06 +00:00
pedro
098ff510f6 Use arc4random(3) for math.random(), okay jolan@ 2007-03-15 22:03:37 +00:00
jasper
e194a57da9 honour CC.
ok pedro@
2007-03-15 07:18:12 +00:00
pedro
a36c94a279 With the recent GCC change, there is no need to manually ignore
__attribute__((visibility)) anymore
2007-01-07 17:31:53 +00:00