head 1.7; access; symbols pkgsrc-2026Q1:1.7.0.14 pkgsrc-2026Q1-base:1.7 pkgsrc-2025Q4:1.7.0.12 pkgsrc-2025Q4-base:1.7 pkgsrc-2025Q3:1.7.0.10 pkgsrc-2025Q3-base:1.7 pkgsrc-2025Q2:1.7.0.8 pkgsrc-2025Q2-base:1.7 pkgsrc-2025Q1:1.7.0.6 pkgsrc-2025Q1-base:1.7 pkgsrc-2024Q4:1.7.0.4 pkgsrc-2024Q4-base:1.7 pkgsrc-2024Q3:1.7.0.2 pkgsrc-2024Q3-base:1.7 pkgsrc-2024Q2:1.6.0.58 pkgsrc-2024Q2-base:1.6 pkgsrc-2024Q1:1.6.0.56 pkgsrc-2024Q1-base:1.6 pkgsrc-2023Q4:1.6.0.54 pkgsrc-2023Q4-base:1.6 pkgsrc-2023Q3:1.6.0.52 pkgsrc-2023Q3-base:1.6 pkgsrc-2023Q2:1.6.0.50 pkgsrc-2023Q2-base:1.6 pkgsrc-2023Q1:1.6.0.48 pkgsrc-2023Q1-base:1.6 pkgsrc-2022Q4:1.6.0.46 pkgsrc-2022Q4-base:1.6 pkgsrc-2022Q3:1.6.0.44 pkgsrc-2022Q3-base:1.6 pkgsrc-2022Q2:1.6.0.42 pkgsrc-2022Q2-base:1.6 pkgsrc-2022Q1:1.6.0.40 pkgsrc-2022Q1-base:1.6 pkgsrc-2021Q4:1.6.0.38 pkgsrc-2021Q4-base:1.6 pkgsrc-2021Q3:1.6.0.36 pkgsrc-2021Q3-base:1.6 pkgsrc-2021Q2:1.6.0.34 pkgsrc-2021Q2-base:1.6 pkgsrc-2021Q1:1.6.0.32 pkgsrc-2021Q1-base:1.6 pkgsrc-2020Q4:1.6.0.30 pkgsrc-2020Q4-base:1.6 pkgsrc-2020Q3:1.6.0.28 pkgsrc-2020Q3-base:1.6 pkgsrc-2020Q2:1.6.0.24 pkgsrc-2020Q2-base:1.6 pkgsrc-2020Q1:1.6.0.4 pkgsrc-2020Q1-base:1.6 pkgsrc-2019Q4:1.6.0.26 pkgsrc-2019Q4-base:1.6 pkgsrc-2019Q3:1.6.0.22 pkgsrc-2019Q3-base:1.6 pkgsrc-2019Q2:1.6.0.20 pkgsrc-2019Q2-base:1.6 pkgsrc-2019Q1:1.6.0.18 pkgsrc-2019Q1-base:1.6 pkgsrc-2018Q4:1.6.0.16 pkgsrc-2018Q4-base:1.6 pkgsrc-2018Q3:1.6.0.14 pkgsrc-2018Q3-base:1.6 pkgsrc-2018Q2:1.6.0.12 pkgsrc-2018Q2-base:1.6 pkgsrc-2018Q1:1.6.0.10 pkgsrc-2018Q1-base:1.6 pkgsrc-2017Q4:1.6.0.8 pkgsrc-2017Q4-base:1.6 pkgsrc-2017Q3:1.6.0.6 pkgsrc-2017Q3-base:1.6 pkgsrc-2017Q2:1.6.0.2 pkgsrc-2017Q2-base:1.6 pkgsrc-2017Q1:1.5.0.10 pkgsrc-2017Q1-base:1.5 pkgsrc-2016Q4:1.5.0.8 pkgsrc-2016Q4-base:1.5 pkgsrc-2016Q3:1.5.0.6 pkgsrc-2016Q3-base:1.5 pkgsrc-2016Q2:1.5.0.4 pkgsrc-2016Q2-base:1.5 pkgsrc-2016Q1:1.5.0.2 pkgsrc-2016Q1-base:1.5 pkgsrc-2015Q4:1.4.0.8 pkgsrc-2015Q4-base:1.4 pkgsrc-2015Q3:1.4.0.6 pkgsrc-2015Q3-base:1.4 pkgsrc-2015Q2:1.4.0.4 pkgsrc-2015Q2-base:1.4 pkgsrc-2015Q1:1.4.0.2 pkgsrc-2015Q1-base:1.4 pkgsrc-2014Q4:1.3.0.8 pkgsrc-2014Q4-base:1.3 pkgsrc-2014Q3:1.3.0.6 pkgsrc-2014Q3-base:1.3 pkgsrc-2014Q2:1.3.0.4 pkgsrc-2014Q2-base:1.3 pkgsrc-2014Q1:1.3.0.2 pkgsrc-2014Q1-base:1.3 pkgsrc-2013Q4:1.1.1.1.0.4 pkgsrc-2013Q4-base:1.1.1.1 pkgsrc-2013Q3:1.1.1.1.0.2 pkgsrc-2013Q3-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.7 date 2024.08.17.15.20.21; author bsiegert; state Exp; branches; next 1.6; commitid yUBU64sAjKJDJbmF; 1.6 date 2017.05.29.21.47.31; author alnsn; state Exp; branches; next 1.5; commitid RZXkURBS3XZUEkTz; 1.5 date 2016.04.01.11.22.36; author jperkin; state Exp; branches; next 1.4; commitid dc6FuXAQ7QK4OU0z; 1.4 date 2015.02.27.07.51.58; author alnsn; state Exp; branches; next 1.3; commitid GzNCyE5lqD1LsCby; 1.3 date 2014.03.26.13.29.53; author imil; state Exp; branches; next 1.2; commitid wgYJ6oiorrEjcdux; 1.2 date 2014.03.12.22.49.14; author justin; state Exp; branches; next 1.1; commitid kVeES0gKxEJoJssx; 1.1 date 2013.07.14.21.42.00; author alnsn; state Exp; branches 1.1.1.1; next ; commitid BoBvPJaDoudl7uXw; 1.1.1.1 date 2013.07.14.21.42.00; author alnsn; state Exp; branches; next ; commitid BoBvPJaDoudl7uXw; desc @@ 1.7 log @LuaJIT2: update to 2.1, rolling release The LuaJIT project has decided to switch to a rolling release model. There are only branches, no point releases. Also, no sensible changelog that I could find either. Patch from Malte Dehling in PR pkg/58293. @ text @$NetBSD$ fix install paths --- Makefile.orig 2024-04-22 08:06:42.000000000 +0000 +++ Makefile @@@@ -30,7 +30,6 @@@@ VERSION= $(MMVERSION).$(RELVER) # Change the installation path as needed. This automatically adjusts # the paths in src/luaconf.h, too. Note: PREFIX must be an absolute path! # -export PREFIX= /usr/local export MULTILIB= lib ############################################################################## @@@@ -47,7 +46,7 @@@@ INSTALL_LMODD= $(INSTALL_SHARE)/lua INSTALL_LMOD= $(INSTALL_LMODD)/$(ABIVER) INSTALL_CMODD= $(INSTALL_LIB)/lua INSTALL_CMOD= $(INSTALL_CMODD)/$(ABIVER) -INSTALL_MAN= $(INSTALL_SHARE)/man/man1 +INSTALL_MAN= $(DPREFIX)/$(PKGMANDIR)/man1 INSTALL_PKGCONFIG= $(INSTALL_LIB)/pkgconfig INSTALL_TNAME= luajit-$(VERSION) @ 1.6 log @Update LuaJIT2 to 2.0.5. LuaJIT 2.0.5 -- 2017-05-01 * Add workaround for MSVC 2015 stdio changes. * Limit mcode alloc probing, depending on the available pool size. * Fix overly restrictive range calculation in mcode allocation. * Fix out-of-scope goto handling in parser. * Remove internal __mode = "K" and replace with safe check. * Add "proto" field to jit.util.funcinfo(). * Fix GC step size calculation. * Initialize uv->immutable for upvalues of loaded chunks. * Fix for cdata vs. non-cdata arithmetics/comparisons. * Drop leftover regs in 'for' iterator assignment, too. * Fix PHI remarking in SINK pass. * Don't try to record outermost pcall() return to lower frame. * Add guard for obscure aliasing between open upvalues and SSA slots. * Remove assumption that lj_math_random_step() doesn't clobber FPRs. * Fix handling of non-numeric strings in arithmetic coercions. * Fix recording of select(n, ...) with off-trace varargs * Fix install for cross-builds. * Don't allocate unused 2nd result register in JIT compiler backend. * Drop marks from replayed instructions when sinking. * Fix unsinking check. * Properly handle OOM in trace_save(). * Limit number of arguments given to io.lines() and fp:lines(). * Fix narrowing of TOBIT. * OSX: Fix build with recent XCode. * x86/x64: Don't spill an explicit REF_BASE in the IR. * x86/x64: Fix instruction length decoder. * x86/x64: Search for exit jumps with instruction length decoder. * ARM: Fix BLX encoding for Thumb interworking calls. * MIPS: Don't use RID_GP as a scratch register. * MIPS: Fix emitted code for U32 to float conversion. * MIPS: Backport workaround for compact unwind tables. * MIPS: Fix cross-endian jit.bcsave. * MIPS: Fix BC_ISNEXT fallback path. * MIPS: Fix use of ffgccheck delay slots in interpreter. * FFI: Fix FOLD rules for int64_t comparisons. * FFI: Fix SPLIT pass for CONV i64.u64. * FFI: Fix ipairs() recording. * FFI: Don't propagate qualifiers into subtypes of complex. @ text @d1 1 a1 1 $NetBSD: patch-Makefile,v 1.5 2016/04/01 11:22:36 jperkin Exp $ d3 1 a3 1 Fix installation. d5 1 a5 1 --- Makefile.orig 2017-05-01 18:11:00.000000000 +0000 d7 1 a7 1 @@@@ -24,7 +24,6 @@@@ ABIVER= 5.1 d15 1 a15 1 @@@@ -40,7 +39,7 @@@@ INSTALL_LMODD= $(INSTALL_SHARE)/lua d20 1 a20 1 +INSTALL_MAN= $(DPREFIX)/${PKGMANDIR}/man1 a23 9 @@@@ -74,7 +73,7 @@@@ SYMLINK= ln -sf INSTALL_X= install -m 0755 INSTALL_F= install -m 0644 UNINSTALL= $(RM) -LDCONFIG= ldconfig -n +LDCONFIG= true SED_PC= sed -e "s|^prefix=.*|prefix=$(PREFIX)|" \ -e "s|^multilib=.*|multilib=$(MULTILIB)|" @ 1.5 log @Use PKGMANDIR. @ text @d1 1 a1 1 $NetBSD: patch-Makefile,v 1.4 2015/02/27 07:51:58 alnsn Exp $ d5 1 a5 1 --- Makefile.orig 2014-03-12 12:10:00.000000000 +0000 d24 1 a24 17 @@@@ -48,6 +47,7 @@@@ INSTALL_TSYMNAME= luajit INSTALL_ANAME= libluajit-$(ABIVER).a INSTALL_SONAME= libluajit-$(ABIVER).so.$(MAJVER).$(MINVER).$(RELVER) INSTALL_SOSHORT= libluajit-$(ABIVER).so +INSTALL_SOMAJOR= libluajit-$(ABIVER).so.$(MAJVER) INSTALL_DYLIBNAME= libluajit-$(ABIVER).$(MAJVER).$(MINVER).$(RELVER).dylib INSTALL_DYLIBSHORT1= libluajit-$(ABIVER).dylib INSTALL_DYLIBSHORT2= libluajit-$(ABIVER).$(MAJVER).dylib @@@@ -57,6 +57,7 @@@@ INSTALL_STATIC= $(INSTALL_LIB)/$(INSTALL INSTALL_DYN= $(INSTALL_LIB)/$(INSTALL_SONAME) INSTALL_SHORT1= $(INSTALL_LIB)/$(INSTALL_SOSHORT) INSTALL_SHORT2= $(INSTALL_LIB)/$(INSTALL_SOSHORT) +INSTALL_MAJOR1= $(INSTALL_LIB)/$(INSTALL_SOMAJOR) INSTALL_T= $(INSTALL_BIN)/$(INSTALL_TNAME) INSTALL_TSYM= $(INSTALL_BIN)/$(INSTALL_TSYMNAME) INSTALL_PC= $(INSTALL_PKGCONFIG)/$(INSTALL_PCNAME) @@@@ -73,7 +74,7 @@@@ SYMLINK= ln -sf a32 8 @@@@ -113,6 +114,7 @@@@ install: $(INSTALL_DEP) cd src && test -f $(FILE_SO) && \ $(INSTALL_X) $(FILE_SO) $(INSTALL_DYN) && \ $(LDCONFIG) $(INSTALL_LIB) && \ + $(SYMLINK) $(INSTALL_SONAME) $(INSTALL_MAJOR1) && \ $(SYMLINK) $(INSTALL_SONAME) $(INSTALL_SHORT1) && \ $(SYMLINK) $(INSTALL_SONAME) $(INSTALL_SHORT2) || : cd etc && $(INSTALL_F) $(FILE_MAN) $(INSTALL_MAN) @ 1.4 log @Don't add ldconfig to tools. Get rid of ldconfig in Makefile instead. @ text @d1 1 a1 1 $NetBSD: patch-Makefile,v 1.3 2014/03/26 13:29:53 imil Exp $ d20 1 a20 1 +INSTALL_MAN= $(DPREFIX)/man/man1 @ 1.3 log @. Added buildlink3.mk . Added symlinking of libluajit-$(ABIVER).so.$(MAJVER) @ text @d1 1 a1 1 $NetBSD: patch-Makefile,v 1.2 2014/03/12 22:49:14 justin Exp $ d40 9 @ 1.2 log @Update LuaJIT2 to 2.0.3. This release has the new PS4 port and various important bug fixes over 2.0.2 -- an update is recommended. Updated as discussed with maintainer alnsn@@netbsd.org @ text @d1 1 a1 1 $NetBSD: patch-Makefile,v 1.1.1.1 2013/07/14 21:42:00 alnsn Exp $ d5 3 a7 3 --- Makefile.orig 2014-03-12 22:10:30.000000000 +0000 +++ Makefile 2014-03-12 22:11:12.000000000 +0000 @@@@ -24,7 +24,6 @@@@ d15 1 a15 1 @@@@ -40,7 +39,7 @@@@ d24 24 @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ d5 3 a7 3 --- Makefile.orig 2013-06-03 19:00:00.000000000 +0000 +++ Makefile @@@@ -24,7 +24,6 @@@@ ABIVER= 5.1 d12 1 d15 1 a15 2 DPREFIX= $(DESTDIR)$(PREFIX) @@@@ -39,7 +38,7 @@@@ INSTALL_LMODD= $(INSTALL_SHARE)/lua @ 1.1.1.1 log @Import LuaJIT version 2.0.2. LuaJIT is a Just-In-Time Compiler (JIT) for the Lua programming language. Lua is a powerful, dynamic and light-weight programming language. It may be embedded or used as a general-purpose, stand-alone language. @ text @@