Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/finance/ledger2beancount Work around pkgsrc mk bug by ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a99a6f0be713
branches:  trunk
changeset: 431268:a99a6f0be713
user:      riastradh <riastradh%pkgsrc.org@localhost>
date:      Mon May 11 01:18:30 2020 +0000

description:
Work around pkgsrc mk bug by adding gsed to USE_TOOLS, not gsed:test.

diffstat:

 finance/ledger2beancount/Makefile |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (22 lines):

diff -r 653a20cff143 -r a99a6f0be713 finance/ledger2beancount/Makefile
--- a/finance/ledger2beancount/Makefile Mon May 11 00:45:27 2020 +0000
+++ b/finance/ledger2beancount/Makefile Mon May 11 01:18:30 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2020/03/23 16:49:07 riastradh Exp $
+# $NetBSD: Makefile,v 1.3 2020/05/11 01:18:30 riastradh Exp $
 
 DISTNAME=      ledger2beancount-2.0
 PKGREVISION=   1
@@ -41,7 +41,11 @@
 TEST_DEPENDS+= ${PYPKGPREFIX}-beancount>=0:../../finance/py-beancount
 TEST_DEPENDS+= p5-YAML-Syck>=0:../../textproc/p5-YAML-Syck
 
-USE_TOOLS+=    gsed:test
+# This should be gsed:test, but that triggers a bug in the mk/
+# infrastructure -- the checksum logic thinks TOOL_SED is gsed, but the
+# depends logic hasn't actually brought gsed in because it's only
+# needed for test.
+USE_TOOLS+=    gsed
 
 TEST_ENV+=     SORT=gsort
 



Home | Main Index | Thread Index | Old Index