summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2019-08-31 11:16:53 +0000
committergdt <gdt@pkgsrc.org>2019-08-31 11:16:53 +0000
commit05f897a8ac8ce018230ee23e88ae9828aadf730a (patch)
treee55055239bf757da4af1fad4f3830ba0f295a634 /net
parent7f4e63ba7c344d098c0d80b3515a88c968db8f99 (diff)
downloadpkgsrc-05f897a8ac8ce018230ee23e88ae9828aadf730a.tar.gz
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 (limited to 'net')
-rw-r--r--net/tor/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/net/tor/Makefile b/net/tor/Makefile
index 19b287030f8..a333476aab5 100644
--- a/net/tor/Makefile
+++ b/net/tor/Makefile
@@ -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 @@ LICENSE= modified-bsd
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}