Commit Graph

33 Commits

Author SHA1 Message Date
naddy
e93f9d0ca9 drop RCS Ids 2022-03-11 19:28:46 +00:00
sthen
4f170e8826 Update luajit to a newer checkout from the 2.0 git branch; upstream say
"Releases are only made occasionally. You're strongly encouraged to follow
the git branches". powerpc help from cwen@, this can now move from being
built with ports-gcc to clang. Reenable build on (32-bit) arm; it was
previously disabled as it required EABI, which we switched to using some
time ago now - not tested on arm yet but this will at least give it a
chance.
2021-07-03 20:21:07 +00:00
jca
de3d8fd06b Link libluajit.so with libc++abi to unbreak rspamd with newer llvm
luajit uses symbols from libunwind which is embedded in libc++abi.
Use the appropriate knob to link libluajit.so (not just the interpreter)
with libc++abi and register the shared lib dep.

ok sthen@ (rspamd maintainer)
2020-08-10 00:56:40 +00:00
sthen
3318ced016 replace simple PERMIT_PACKAGE_CDROM=Yes with PERMIT_PACKAGE=Yes 2019-07-12 20:46:54 +00:00
kettenis
c302170743 Fix generation of ELF object files. Already present upstream.
ok jsg@
2018-10-22 19:16:25 +00:00
sthen
1c9632d91f mention that mail/rspamd needs to keep in sync with arches 2018-08-21 16:20:40 +00:00
sthen
2ee0e5cd06 only pull in bsd.port.arch.mk, instead of the whole of bsd.port.mk, for accessing
PROPERTIES. pointed out by fcambus
2018-04-25 11:43:13 +00:00
kirby
ed89078b49 missed comment from jca@, sorry. 2017-11-19 19:49:51 +00:00
kirby
de58346007 add comment about usage of embedded copy of luajit in games/tome4
requested and OK sthen@
2017-11-19 19:40:58 +00:00
sthen
13948d294e bump 2017-07-27 17:27:27 +00:00
espie
051791b184 help this build with clang... apparently the dependent ports like it.
might be not 100% right, but it won't even build without it anyway.
2017-06-01 20:47:38 +00:00
jsg
b15996595d update to LuaJIT 2.0.5
Major on the library gets cranked as it removes
luaJIT_version_2_0_4
and adds
luaJIT_version_2_0_5

Tested by sthen@ with rspamd. ok sthen@
2017-05-05 10:21:47 +00:00
naddy
3dd667b407 bump REVISION after previous 2016-11-07 11:42:55 +00:00
jsg
cdd20263f4 Remove the lua52 FLAVOR of luajit which build with LUAJIT_ENABLE_LUA52COMPAT
defined and wrongly patched luajit to set the abi to lua 5.2.
luajit can not load lua modules built against the lua 5.2 headers even
when build with LUAJIT_ENABLE_LUA52COMPAT.

Even without LUAJIT_ENABLE_LUA52COMPAT luajit has some 5.2 semantics,
the define enables a few other things such making unpack() available
as table.unpack().

No system vendors seem to ship a version of luajit with the define set
and the consensus is to just remove the FLAVOR.

Remove abieber@ as MAINTAINER at his request.

ok jca@ abieber@ juanfra@
2016-11-06 05:44:21 +00:00
naddy
42bc647e80 remove SHARED_ONLY from ports that only use modules that neither set nor
read this variable
2016-03-18 23:12:15 +00:00
ajacoutot
3e966ca936 Remove a comment that has been bogus for awhile now that 4.9 is being
built.

from Brad
2015-12-28 07:14:18 +00:00
dcoppa
54a560f7d5 Update to LuaJIT-2.0.4
ok abieber@ (maintainer)
2015-06-06 09:03:16 +00:00
pascal
f0585aa4cf gcc4 bumps, reminded by aja@ 2015-05-28 10:17:22 +00:00
abieber
c4a283c051 From tedu@:
On i386, it's better for a jit to ask for exec memory upfront, so uvm
knows to place it in the exec segment. Otherwise, if you mmap non-exec
and mprotect it, you wind up with a high mapping and the segment must
be enlarged to cover the whole process.

I sent Mike a slightly different diff; this is what he ended up
committing to git. I think we should add it to the port.

OK dcoppa@
2015-01-20 15:26:26 +00:00
juanfra
cd9828c345 Enable LUA52COMPAT for the lua52 flavor. ok abieber@. 2014-06-02 19:43:50 +00:00
abieber
43e4f18bb3 Fix for hard coded 5.1 plist stuff that was preventing the lua52 flavor
building.

Suggestions from sthen@

OK juanfra@
2014-05-03 14:24:03 +00:00
abieber
cd1c8e4b1b Update to the latest luajit - tested on amd64 using luakit. luasocket was also
used as a test.

OK jturner@
2014-03-12 22:51:21 +00:00
sthen
f68fdeb92c build luajit with -Wl,-E to avoid problems when dlopen()ing hit by tedu.
tracked down by jturner, I tweaked his diff to use more of upstream's
original src/Makefile. ok jasper@ jturner@ abieber@
2014-02-10 17:31:46 +00:00
jasper
ed23a60a97 remove arm from supported arches list as it requires eabi/aapcs.
ok abieber@ (MAINTAINER)
2013-11-01 12:21:04 +00:00
abieber
deed6c5015 Update luajit to 2.0.2 - ran update-patches
OK jturner@
2013-10-05 15:51:08 +00:00
abieber
9bdeb4dd65 add luajit hotfix using fancy new syntax!
OK sthen@
2013-05-09 22:35:17 +00:00
abieber
b097427f1e Update luajit to 2.0.1
OK benoit@, sthen@
2013-05-09 17:57:56 +00:00
espie
0662a4e9d6 PERMIT_* / REGRESS->TEST sweep 2013-03-11 11:20:26 +00:00
ajacoutot
e03c56c9c5 MODGCC4_VERSION default to 4.6 now. 2013-02-07 19:13:49 +00:00
jasper
54664ddec7 remove mips64 from ONLY_FOR_ARCHS until gcc 4.6 has been ported to it.
ok abieber@ (MAINTAINER)
2012-12-02 19:09:36 +00:00
abieber
da3f845045 Update to 2.0.0 release.
OK jasper@, sthen@
2012-11-16 15:06:57 +00:00
sthen
61b9f7545f fix on powerpc, and add an explicit ONLY_FOR_ARCHS listing the arches
which the JIT has been written for (though some may not work in the port yet).
2012-11-02 02:08:38 +00:00
abieber
07e730c218 Initial import of luajit - a just-in-time compiler for Lua
OK sthen@ landry@
2012-10-27 14:05:33 +00:00