pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/source-highlight Deal with portability. Use :...
details: https://anonhg.NetBSD.org/pkgsrc/rev/76f6bb71d363
branches: trunk
changeset: 427655:76f6bb71d363
user: joerg <joerg%pkgsrc.org@localhost>
date: Sat Apr 18 21:55:07 2020 +0000
description:
Deal with portability. Use :test
diffstat:
textproc/source-highlight/Makefile | 12 +++++++--
textproc/source-highlight/distinfo | 7 +-----
textproc/source-highlight/patches/patch-tests_valgrind__suppressions.sh.in | 10 ++++++++
3 files changed, 20 insertions(+), 9 deletions(-)
diffs (52 lines):
diff -r 1ea96e85196c -r 76f6bb71d363 textproc/source-highlight/Makefile
--- a/textproc/source-highlight/Makefile Sat Apr 18 19:43:23 2020 +0000
+++ b/textproc/source-highlight/Makefile Sat Apr 18 21:55:07 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.60 2020/01/18 23:35:33 rillig Exp $
+# $NetBSD: Makefile,v 1.61 2020/04/18 21:55:07 joerg Exp $
DISTNAME= source-highlight-3.1.8
PKGREVISION= 11
@@ -25,9 +25,15 @@
INFO_FILES= YES
-# this is only really needed for the 'test' target
-USE_TOOLS+= gmake gsed
+USE_TOOLS+= gmake:test gsed:test bash:test
TEST_TARGET= check
+# bash scripts
+CHECK_PORTABILITY_SKIP+= \
+ lib/tests/valgrind_test.sh.in \
+ tests/valgrind_suppressions.sh.in \
+ tests/valgrind_test.sh.in \
+ tests/valgrind_tests.sh.in
+
.include "../../devel/boost-libs/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 1ea96e85196c -r 76f6bb71d363 textproc/source-highlight/distinfo
--- a/textproc/source-highlight/distinfo Sat Apr 18 19:43:23 2020 +0000
+++ b/textproc/source-highlight/distinfo Sat Apr 18 21:55:07 2020 +0000
@@ -1,6 +1,1 @@
-$NetBSD: distinfo,v 1.24 2015/11/04 02:00:12 agc Exp $
-
-SHA1 (source-highlight-3.1.8.tar.gz) = 55b814ec09674ef7f5ab42c46b2ae5a0f86f7c9b
-RMD160 (source-highlight-3.1.8.tar.gz) = a6e0ad1713deb2056984a97adc7dfd0e6610809f
-SHA512 (source-highlight-3.1.8.tar.gz) = 00a49ab180460750614b38be9a569478d1d34d01f601ebc7452a4fee8475a19faf9bb9fb2f256c6b40d43fbc3d34962a77ba8b9833483345c4e4a42faad6976c
-Size (source-highlight-3.1.8.tar.gz) = 1648351 bytes
+distinfo.awk: /data/scratch/textproc/source-highlight/work/.distfiles not found
diff -r 1ea96e85196c -r 76f6bb71d363 textproc/source-highlight/patches/patch-tests_valgrind__suppressions.sh.in
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/source-highlight/patches/patch-tests_valgrind__suppressions.sh.in Sat Apr 18 21:55:07 2020 +0000
@@ -0,0 +1,10 @@
+$NetBSD: patch-tests_valgrind__suppressions.sh.in,v 1.1 2020/04/18 21:55:07 joerg Exp $
+
+--- tests/valgrind_suppressions.sh.in.orig 2020-04-18 21:10:58.614527351 +0000
++++ tests/valgrind_suppressions.sh.in
+@@ -1,4 +1,4 @@
+-#! @SHELL@
++#! @BASH_SHELL@
+ # --------------------------------------------------------------------- #
+ #
+ # Script to run an example through VALGRIND and generate suppressions
Home |
Main Index |
Thread Index |
Old Index