pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/benchmarks/google-benchmark benchmarks/google-benchmar...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/39909886ab5b
branches:  trunk
changeset: 413686:39909886ab5b
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sat Mar 21 17:27:24 2020 +0000

description:
benchmarks/google-benchmark: add build dependency to Python

Without the dependency, the build fails with:
> Scanning dependencies of target copy_clobber_memory_assembly_test
> env: python: No such file or directory

diffstat:

 benchmarks/google-benchmark/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 52344f2b494c -r 39909886ab5b benchmarks/google-benchmark/Makefile
--- a/benchmarks/google-benchmark/Makefile      Sat Mar 21 17:17:19 2020 +0000
+++ b/benchmarks/google-benchmark/Makefile      Sat Mar 21 17:27:24 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2020/03/16 14:00:58 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2020/03/21 17:27:24 rillig Exp $
 
 DISTNAME=      benchmark-1.5
 PKGNAME=       google-${DISTNAME}
@@ -20,5 +20,8 @@
 
 BUILDLINK_TRANSFORM+=  rm:-Werror
 
+REPLACE_PYTHON=                *.py */*.py */*/*.py
+
+.include "../../lang/python/application.mk"
 .include "../../mk/pthread.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index