pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/print/luatex luatex: fix unportable test(1) operator



details:   https://anonhg.NetBSD.org/pkgsrc/rev/31179e14439f
branches:  trunk
changeset: 412838:31179e14439f
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Mar 12 17:18:30 2020 +0000

description:
luatex: fix unportable test(1) operator

diffstat:

 print/luatex/Makefile                              |   5 ++++-
 print/luatex/distinfo                              |   3 ++-
 print/luatex/patches/patch-libs_luajit_Makefile.in |  15 +++++++++++++++
 3 files changed, 21 insertions(+), 2 deletions(-)

diffs (52 lines):

diff -r 917f6e30e37a -r 31179e14439f print/luatex/Makefile
--- a/print/luatex/Makefile     Thu Mar 12 17:01:39 2020 +0000
+++ b/print/luatex/Makefile     Thu Mar 12 17:18:30 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.92 2020/03/04 22:07:27 wiz Exp $
+# $NetBSD: Makefile,v 1.93 2020/03/12 17:18:30 wiz Exp $
 
 PKGREVISION= 6
 .include "../../print/texlive/Makefile.common"
@@ -65,6 +65,9 @@
 SUBST_FILES.prefix=    libs/lua53/lua53-src/src/luaconf.h
 SUBST_VARS.prefix=     PREFIX
 
+# patched in Makefile.in
+CHECK_PORTABILITY_SKIP+=       libs/luajit/Makefile.am
+
 CPPFLAGS.SunOS+=       -D_XOPEN_SOURCE_EXTENDED=0
 
 pre-configure:
diff -r 917f6e30e37a -r 31179e14439f print/luatex/distinfo
--- a/print/luatex/distinfo     Thu Mar 12 17:01:39 2020 +0000
+++ b/print/luatex/distinfo     Thu Mar 12 17:18:30 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.35 2019/05/09 09:47:35 adam Exp $
+$NetBSD: distinfo,v 1.36 2020/03/12 17:18:30 wiz Exp $
 
 SHA1 (texlive-20190410-source.tar.xz) = d700878d3e19b6ad1313791dd5cef4bf0acfd675
 RMD160 (texlive-20190410-source.tar.xz) = a0cbe56b19b1f3d064315c37f8b5a4b04f82678b
@@ -7,3 +7,4 @@
 SHA1 (patch-libs_lua53_lua53-src_src_luaconf.h) = 824ee4ba2c324e1e01967b82a54621b6b6f3edd3
 SHA1 (patch-libs_luajit_LuaJIT-src_src_host_buildvm__asm.c) = 34fa742ed696f97df637c5086bf1faf3d718cb69
 SHA1 (patch-libs_luajit_LuaJIT-src_src_vm__x86.dasc) = 491d33adbbaab8b2b81a65a8d7ba30aee775b75f
+SHA1 (patch-libs_luajit_Makefile.in) = 810cac28910bf1887828ea29140759747e5a043e
diff -r 917f6e30e37a -r 31179e14439f print/luatex/patches/patch-libs_luajit_Makefile.in
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/luatex/patches/patch-libs_luajit_Makefile.in        Thu Mar 12 17:18:30 2020 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-libs_luajit_Makefile.in,v 1.5 2020/03/12 17:18:30 wiz Exp $
+
+Fix unportable test(1) operator.
+
+--- libs/luajit/Makefile.in.orig       2018-05-14 18:07:32.000000000 +0000
++++ libs/luajit/Makefile.in
+@@ -2039,7 +2039,7 @@ lj_vm_obj.o lj_vm_asm.S: native/buildvm-
+ 
+ lj_vm_obj.lo: lj_vm_obj.o lib_base.lo
+       $(AM_V_GEN)sed 's/lib_base/lj_vm_obj/' lib_base.lo >$@ \
+-        && . ./$@ && test x"$$pic_object" == xnone \
++        && . ./$@ && test x"$$pic_object" = xnone \
+         || cp lj_vm_obj.o .libs/lj_vm_obj.o
+ 
+ $(ljlib_sources) lj_opt_fold.c: config.force



Home | Main Index | Thread Index | Old Index