pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/tor net/tor: Add gmake to USE_TOOLS



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9e4db8e5c52f
branches:  trunk
changeset: 400610:9e4db8e5c52f
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Sat Aug 31 11:16:53 2019 +0000

description:
net/tor: Add gmake to USE_TOOLS

Multiple people report build failures surrounding micro-revision.i,
and the leading (but not particularly strong) theory is that it's a
BSD make bug.  Use gmake to avoid this, at least for now.

diffstat:

 net/tor/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r cb67c109e2cb -r 9e4db8e5c52f net/tor/Makefile
--- a/net/tor/Makefile  Sat Aug 31 10:35:12 2019 +0000
+++ b/net/tor/Makefile  Sat Aug 31 11:16:53 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.143 2019/08/20 21:39:16 gdt Exp $
+# $NetBSD: Makefile,v 1.144 2019/08/31 11:16:53 gdt Exp $
 
 DISTNAME=      tor-0.4.1.5
 CATEGORIES=    net security
@@ -12,6 +12,12 @@
 USE_LANGUAGES=         c99
 USE_PKGLOCALEDIR=      yes
 USE_TOOLS+=            perl:test pkg-config
+# There are multiple reports of failure to build with BSD make, due to
+# an apparent lack of firing the rule to create micro-revision.i.
+# Work around this by using gmake, which is tiny compared to the
+# existing perl dependency, and unlikely to be needed on any given
+# system just for tor.
+USE_TOOLS+=            gmake
 GNU_CONFIGURE=         yes
 CONFIGURE_ARGS+=       --localstatedir=${VARBASE}
 CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFBASEDIR}



Home | Main Index | Thread Index | Old Index