pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/lua54 lua54: Include correct objects in luac binary



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d5c5df9f74a3
branches:  trunk
changeset: 768615:d5c5df9f74a3
user:      nia <nia%pkgsrc.org@localhost>
date:      Wed Oct 27 13:02:40 2021 +0000

description:
lua54: Include correct objects in luac binary

Problem and solution identified by Piotr Meyer in a private email,
thanks.

diffstat:

 lang/lua54/Makefile                   |  3 ++-
 lang/lua54/distinfo                   |  4 ++--
 lang/lua54/patches/patch-src_Makefile |  4 ++--
 3 files changed, 6 insertions(+), 5 deletions(-)

diffs (44 lines):

diff -r 0798b2897533 -r d5c5df9f74a3 lang/lua54/Makefile
--- a/lang/lua54/Makefile       Wed Oct 27 12:29:35 2021 +0000
+++ b/lang/lua54/Makefile       Wed Oct 27 13:02:40 2021 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2020/07/02 10:15:20 nia Exp $
+# $NetBSD: Makefile,v 1.3 2021/10/27 13:02:40 nia Exp $
 
 DISTNAME=      lua-${LUA_VERSION}
 PKGNAME=       lua54-${LUA_VERSION}
+PKGREVISION=   1
 CATEGORIES=    lang lua
 MASTER_SITES=  https://www.lua.org/ftp/
 
diff -r 0798b2897533 -r d5c5df9f74a3 lang/lua54/distinfo
--- a/lang/lua54/distinfo       Wed Oct 27 12:29:35 2021 +0000
+++ b/lang/lua54/distinfo       Wed Oct 27 13:02:40 2021 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.7 2021/10/26 10:51:42 nia Exp $
+$NetBSD: distinfo,v 1.8 2021/10/27 13:02:40 nia Exp $
 
 BLAKE2s (lua-5.4.3.tar.gz) = e137cfcfdc6a93e52120039bec5f92db06dbe8318350fe88fc3a11626d4aa193
 SHA512 (lua-5.4.3.tar.gz) = 3a1a3ee8694b72b4ec9d3ce76705fe179328294353604ca950c53f41b41161b449877d43318ef4501fee44ecbd6c83314ce7468d7425ba9b2903c9c32a28bbc0
 Size (lua-5.4.3.tar.gz) = 358216 bytes
 SHA1 (patch-Makefile) = 22523bc60fe8d004f3bfd59396cfc6e43f645a75
-SHA1 (patch-src_Makefile) = 2fabdb027ae3fcd31c2c65cfe9f9633a583c41d7
+SHA1 (patch-src_Makefile) = ab840599eea7303a015a9d7a303e99cb162d81bd
diff -r 0798b2897533 -r d5c5df9f74a3 lang/lua54/patches/patch-src_Makefile
--- a/lang/lua54/patches/patch-src_Makefile     Wed Oct 27 12:29:35 2021 +0000
+++ b/lang/lua54/patches/patch-src_Makefile     Wed Oct 27 13:02:40 2021 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-src_Makefile,v 1.3 2021/04/09 14:18:12 nia Exp $
+$NetBSD: patch-src_Makefile,v 1.4 2021/10/27 13:02:40 nia Exp $
 
 - Don't override CC/CFLAGS/LDFLAGS.
 - Use libtool to build shared libraries.
@@ -58,7 +58,7 @@
  
  $(LUAC_T): $(LUAC_O) $(LUA_A)
 -      $(CC) -o $@ $(LDFLAGS) $(LUAC_O) $(LUA_A) $(LIBS)
-+      $(LIBTOOL) --quiet --tag=CC --mode=link $(CC) -o $@ $(LDFLAGS) $(LUA_O) $(LUA_A) $(LIBS)
++      $(LIBTOOL) --quiet --tag=CC --mode=link $(CC) -static -o $@ $(LDFLAGS) $(LUAC_O) $(LUA_A) $(LIBS)
  
  test:
        ./$(LUA_T) -v



Home | Main Index | Thread Index | Old Index