pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/ragel ragel: fix unportable test(1) operator in ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9fb4048cc8b0
branches:  trunk
changeset: 412849:9fb4048cc8b0
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Mar 12 17:36:35 2020 +0000

description:
ragel: fix unportable test(1) operator in test run script

The script uses bash as interpreter, and pkgsrc doesn't run them
yet, so we could skip instead...

diffstat:

 devel/ragel/distinfo                       |   3 ++-
 devel/ragel/patches/patch-test_runtests.in |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (33 lines):

diff -r 9fa136cb1299 -r 9fb4048cc8b0 devel/ragel/distinfo
--- a/devel/ragel/distinfo      Thu Mar 12 17:34:33 2020 +0000
+++ b/devel/ragel/distinfo      Thu Mar 12 17:36:35 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.10 2017/04/19 18:32:47 wiz Exp $
+$NetBSD: distinfo,v 1.11 2020/03/12 17:36:35 wiz Exp $
 
 SHA1 (ragel-6.10.tar.gz) = 946162090fb58b794ed53173fac13398d565b794
 RMD160 (ragel-6.10.tar.gz) = e37a0f83d3acbb77c7d7ea115f2faf0f2478724b
@@ -6,3 +6,4 @@
 Size (ragel-6.10.tar.gz) = 1232993 bytes
 SHA1 (patch-aapl_bstcommon.h) = 540e74d2ff3ace21d3fb0cd817027cf18837bc98
 SHA1 (patch-ragel_javacodegen.cpp) = 3fc6b892b18993a769c7eb80bb89bbef63d71c7d
+SHA1 (patch-test_runtests.in) = 53605647f71655b05db3721fec44046d960f8e78
diff -r 9fa136cb1299 -r 9fb4048cc8b0 devel/ragel/patches/patch-test_runtests.in
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ragel/patches/patch-test_runtests.in        Thu Mar 12 17:36:35 2020 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-test_runtests.in,v 1.1 2020/03/12 17:36:35 wiz Exp $
+
+Fix unportable test(1) operator.
+
+--- test/runtests.in.orig      2017-03-24 03:29:28.000000000 +0000
++++ test/runtests.in
+@@ -104,7 +104,7 @@ function run_test()
+ 
+       out_args=""
+       [ $lang != java ] && out_args="-o ${binary}";
+-    [ $lang == csharp ] && out_args="-out:${binary}";
++    [ $lang = csharp ] && out_args="-out:${binary}";
+ 
+       # Ruby doesn't need to be compiled.
+       if [ $lang != ruby ]; then



Home | Main Index | Thread Index | Old Index