diff options
author | gdt <gdt@pkgsrc.org> | 2021-09-07 14:00:52 +0000 |
---|---|---|
committer | gdt <gdt@pkgsrc.org> | 2021-09-07 14:00:52 +0000 |
commit | e97b6dad57d179439c832f37b13f47dc380becbc (patch) | |
tree | 3c0329689cec2bfbe5b3c536ff448aa8a7fd3677 | |
parent | 6d988861e9e832b8a4c905bddb31becef959cdd3 (diff) | |
download | pkgsrc-e97b6dad57d179439c832f37b13f47dc380becbc.tar.gz |
net/tor: Workaround upstream "micro-revision.i" bug
There is something wrong in tor's makefiles which causes:
src/lib/version/git_revision.c:21:10: fatal error: micro-revision.i: No such file or directory
#include "micro-revision.i"
^~~~~~~~~~~~~~~~~~
compilation terminated.
obviously by not having built micro-revision.i when that compilation
is done. This happens reliably for some people and not for others.
This commit adds a comment with the issue in tor's bug tracker, and a
workaround that builds micro-revision.i and then does the normal
build.
No PKGREVISION as this is just a build fix, and should have zero
effect if this built anyway.
ok @wiz
-rw-r--r-- | net/tor/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/net/tor/Makefile b/net/tor/Makefile index d679540ae8c..55a26a01c56 100644 --- a/net/tor/Makefile +++ b/net/tor/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.172 2021/08/17 08:13:44 wiz Exp $ +# $NetBSD: Makefile,v 1.173 2021/09/07 14:00:52 gdt Exp $ DISTNAME= tor-0.4.6.7 CATEGORIES= net security @@ -18,6 +18,11 @@ CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASEDIR} CONFIGURE_ENV+= CPP=${CPP:Q} CONFIGURE_ENV+= CONFDIR=${PKG_SYSCONFDIR} +# https://gitlab.torproject.org/tpo/core/tor/-/issues/29520 +# Without this workaround, fails reliable with MAKE_JOBS=1 on +# netbsd-9 amd64. +BUILD_TARGET= micro-revision.i all + #============================================================================ #Testsuite summary for tor 0.4.6.6 #============================================================================ |