1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
Commit Graph

32 Commits

Author SHA1 Message Date
Mark Linimon
606b871f73 Mark as broken on aarch64.
While here, pet portlint.

Approved by:	portmgr (tier-2 blanket)
2018-03-18 15:08:18 +00:00
Justin Hibbits
d2ac3fee9c Add support for GCC-based targets to luajit
Summary:
luajit requires CC to be passed on the command line, not via the Make
environment in order to override the Makefile.  Pass it explicitly, and for GCC
targets (powerpc, mips, sparc64) explicitly use ports GCC.

Reviewed By: mat
Differential Revision: https://reviews.freebsd.org/D13804
2018-01-10 03:51:12 +00:00
Dimitry Andric
585d5363b8 Fix lang/luajit object file .strtab section size
When luajit writes a ELF object file (using the -b option), it sets the
size of the .strtab section one byte too short.  In function
bcsave_elfobj(), the offset of the .rodata section after .strtab is
already calculated correctly, but the size of .strtab itself is one byte
too small.  Even though there is a zero byte after the last string in
the table, the short size causes lld (the LLVM linker) to show an error
message similar to:

ld: error: obj/bytecode.o: string table non-null terminated

Fix it by increasing the size of the .strtab section by one byte.  This
change has also been accepted upstream, but there is no new stable
release yet.

Approved by:	portmgr (antoine)
PR:		223688
2017-12-31 00:50:32 +00:00
Mark Linimon
3ef3461740 For ports that are explicitly enabled on armv6, also enable them
on armv7.  This has not been tested with an -exp run but should
"do no harm".

PR:		221894 (partial)
2017-10-10 21:31:30 +00:00
Mark Linimon
c814970936 Sort ARCHS. Pet portlint.
Approved by:	portmgr (tier-2 blanket)
2017-06-26 23:44:13 +00:00
Sergey A. Osokin
d2d15a57a8 Upgrade from 2.0.4 to 2.0.5.
Sort pkg-plist.
2017-05-03 21:37:40 +00:00
Baptiste Daroussin
3ad4abc822 Prefer relative symlinks to be relocation friendly 2016-06-23 06:45:18 +00:00
Adam Weinberger
2b036f026c No need for pre/post here.
Committed under just-fix-it.
2016-04-14 19:08:31 +00:00
Sergey A. Osokin
8918563af1 Upgrade from 2.0.3 to 2.0.4.
ChangeLog:	http://luajit.org/changes.html
2015-06-01 23:30:17 +00:00
Sean Bruno
c9dea4d235 This time, don't delete the requisite includes for the post-install bits.
Reimplement ONLY_FOR_ARCHS such that we know that this port requires newer
compiler features (which aren't very clear from the port itself).  Probably
need to validate this on powerpc as we have clang available and gcc ports.

PR:		197132
2015-05-02 18:43:35 +00:00
Sean Bruno
a0a651221d revert r385200 as it is breaks the port due to missing include. 2015-05-02 17:59:00 +00:00
Sean Bruno
66641e6424 lang/luajit requires a much more modern compiler than the gcc4.2.1 available
on non-clang architechtures.  In addition, if there is no lang/gcc available
for the architecuture, we can't build it via that method either.

Rework archtecture disable to use ONLY_FOR_ARCHS and give a clearer reason
why this is being disabled on powrepc/mips/sparc64.

PR:		197132
Reviewed by:	osa@freebsd.org (maintainer)
2015-05-02 17:52:28 +00:00
Sergey A. Osokin
66126d1f84 Fix luajit.pc file.
PR:	199121
2015-05-02 17:18:02 +00:00
Baptiste Daroussin
77cba41a62 Cleanup plist 2014-10-27 15:23:30 +00:00
Sergey A. Osokin
a5a72eee5e Update from 2.0.2 to 2.0.3.
<ChangeLog>

Add PS4 port.
Add support for multilib distro builds.
Fix OSX build.
Fix MinGW build.
Fix Xbox 360 build.
Improve ULOAD forwarding for open upvalues.
Fix GC steps threshold handling when called by JIT-compiled code.
Fix argument checks for math.deg() and math.rad().
Fix jit.flush(func|true).
Respect jit.off(func) when returning to a function, too.
Fix compilation of string.byte(s, nil, n).
Fix line number for relocated bytecode after closure fixup.
Fix frame traversal for backtraces.
Fix ABC elimination.
Fix handling of redundant PHIs.
Fix snapshot restore for exit to function header.
Fix type punning alias analysis for constified pointers.
Fix call unroll checks in the presence of metamethod frames.
Fix initial maxslot for down-recursive traces.
Prevent BASE register coalescing if parent uses IR_RETF.
Don't purge modified function from stack slots in BC_RET.
Fix recording of BC_VARG.
Don't access dangling reference to reallocated IR.
Fix frame depth display for bytecode dump in -jdump.
ARM: Fix register allocation when rematerializing FPRs.
x64: Fix store to upvalue for lightuserdata values.
FFI: Add missing GC steps for callback argument conversions.
FFI: Properly unload loaded DLLs.
FFI: Fix argument checks for ffi.string().
FFI/x64: Fix passing of vector arguments to calls.
FFI: Rehash finalizer table after GC cycle, if needed.
FFI: Fix cts->L for cdata unsinking in snapshot restore.

</ChangeLog>
2014-08-16 15:08:10 +00:00
Jimmy Olgeni
021be14f65 Remove indefinite articles and trailing periods from COMMENT, plus minor
COMMENT typos and surrounding whitespace fixes. A few Makefiles where not
included as they contain Latin-1 characters that break the Phabricator
workflow. Categories J-L.

CR:		D305
Approved by:	portmgr (swills)
2014-07-05 19:27:03 +00:00
Martin Wilke
6a8989b46c - Stage support 2014-02-01 17:10:46 +00:00
Baptiste Daroussin
888ab73a81 Add NO_STAGE all over the place in preparation for the staging support (cat: lang) 2013-09-20 19:53:09 +00:00
Sergey A. Osokin
38c98059bc Update from 2.0.1 to 2.0.2.
Install link to shared object.	(*)

PR:	177881	(*)
2013-07-10 17:57:38 +00:00
Sergey A. Osokin
93fb98e600 Apply hotfix from upstream.
Bump PORTREVISION.
2013-03-18 09:34:22 +00:00
Sergey A. Osokin
ffe2cb1109 Update from 2.0.0 to 2.0.1.
ChangeLog:	http://luajit.org/changes.html
2013-02-25 16:39:58 +00:00
Sergey A. Osokin
20aa4cbf75 Finally update from 2.0.0-rc3 to 2.0.0 release.
ChangeLog:	http://luajit.org/changes.html

Feature safe:	yes
2012-11-14 10:20:24 +00:00
Sergey A. Osokin
8f5504f187 Update from 2.0.0-rc2 to 2.0.0-rc3.
ChangeLog:	http://luajit.org/changes.html

Feature safe:	yes
2012-11-08 21:31:57 +00:00
Sergey A. Osokin
3488c13e39 Update from 2.0.0-rc1 to 2.0.0-rc2.
Feature safe:	yes.
2012-11-06 18:42:23 +00:00
Sergey A. Osokin
b0aacb319d Update from 2.0.0-beta11 to 2.0.0-rc1.
ChangeLog:	http://luajit.org/changes.html

Feature safe:	yes
2012-11-01 18:54:07 +00:00
Sergey A. Osokin
33499efc4b Update from 2.0.0-beta10 to 2.0.0-beta11.
Remove needless patch.

ChangeLog:	http://luajit.org/changes.html

Feature safe:	yes
2012-10-18 18:17:09 +00:00
Mark Linimon
8e65c59121 Mark as broken on powerpc and sparc64 (and, presumably, ia64).
Hat:		portmgr
2012-09-04 06:57:36 +00:00
Sergey A. Osokin
a4df6535d6 Fix build by remove needless patch.
Reported by:	Mike Harding aka mvh at ix dot netcom dot com
2012-05-11 13:14:02 +00:00
Sergey A. Osokin
59364e9726 Update from 2.0.0-beta9 to 2.0.0-beta10.
Remove needless patches.

ChangeLog:	http://luajit.org/changes.html
2012-05-11 10:32:29 +00:00
Sergey A. Osokin
776a7c5e03 Replace unwind.h definitions with luajit own.
Bump PORTREVISION.

Patch obtained from browsable mirror of luajit
http://repo.or.cz/w/luajit-2.0.git.

Feature safe:	yes
2012-04-02 09:51:02 +00:00
Sergey A. Osokin
3bc23de0dc Apply hotfix from upstream.
Bump PORTREVISION.
2012-02-09 16:36:20 +00:00
Sergey A. Osokin
e44ed8aeb0 Move luajit from devel to lang directory.
Notice from:	linimon
2012-01-19 18:09:09 +00:00