pkgsrc-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ed32a34dd5d9
branches:  trunk
changeset: 412851:ed32a34dd5d9
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Mar 12 17:40:44 2020 +0000

description:
fig2dev: fix unportable test(1) operator.

diffstat:

 print/fig2dev/distinfo                               |   3 ++-
 print/fig2dev/patches/patch-fig2dev_tests_atlocal.in |  14 ++++++++++++++
 2 files changed, 16 insertions(+), 1 deletions(-)

diffs (32 lines):

diff -r a65f7606324b -r ed32a34dd5d9 print/fig2dev/distinfo
--- a/print/fig2dev/distinfo    Thu Mar 12 17:39:28 2020 +0000
+++ b/print/fig2dev/distinfo    Thu Mar 12 17:40:44 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.2 2017/10/04 12:01:43 wiz Exp $
+$NetBSD: distinfo,v 1.3 2020/03/12 17:40:44 wiz Exp $
 
 SHA1 (fig2dev-3.2.6a.tar.xz) = e09145435f3306010eb006f9d7e118fccf77cd2b
 RMD160 (fig2dev-3.2.6a.tar.xz) = 0498c32afdd4df51a54d513d1de8f9cc00997bf8
@@ -6,3 +6,4 @@
 Size (fig2dev-3.2.6a.tar.xz) = 507820 bytes
 SHA1 (patch-fig2dev_dev_readjpg.c) = 705414eb61cdbd257b7a3bc8f500a0580b21acab
 SHA1 (patch-fig2dev_fig2dev.c) = 5b52728ee9f9e6888b8e83d2e6ef346a74b35a81
+SHA1 (patch-fig2dev_tests_atlocal.in) = 3136991e18591227b4b3176d0fe88087b4281e78
diff -r a65f7606324b -r ed32a34dd5d9 print/fig2dev/patches/patch-fig2dev_tests_atlocal.in
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/fig2dev/patches/patch-fig2dev_tests_atlocal.in      Thu Mar 12 17:40:44 2020 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-fig2dev_tests_atlocal.in,v 1.1 2020/03/12 17:40:44 wiz Exp $
+
+Fix unportable test(1) operator.
+
+--- fig2dev/tests/atlocal.in.orig      2016-02-14 20:54:26.000000000 +0000
++++ fig2dev/tests/atlocal.in
+@@ -1,6 +1,6 @@
+ # @configure_input@
+ 
+-if test x"@abs_top_builddir@" == x"@abs_top_srcdir@"; then
++if test x"@abs_top_builddir@" = x"@abs_top_srcdir@"; then
+   PATH=@abs_top_builddir@/fig2dev:$PATH
+ else
+   PATH=@abs_top_builddir@/fig2dev:@abs_top_srcdir@/fig2dev:$PATH



Home | Main Index | Thread Index | Old Index