aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Clausecker <fuz@FreeBSD.org>2023-03-17 17:50:44 +0000
committerRobert Clausecker <fuz@FreeBSD.org>2023-03-21 12:53:49 +0000
commitd82ea23495a344ea2740b59c515790da8b2876d8 (patch)
treee1bef2058c1e64eacb0cbe30196637400e9c3393
parentbd71c9d3c67e00fa60e2c853855db76ba43e4500 (diff)
downloadports-d82ea23495a344ea2740b59c515790da8b2876d8.tar.gz
ports-d82ea23495a344ea2740b59c515790da8b2876d8.zip
devel/git-town: fix build on riscv64
Bump golang.org/x/sys dependency to a version new enough to support risv64-freebsd. Sponsored by: Berliner Linux User Group e.V. Approved by: yuri (maintainer) Differential Revision: https://reviews.freebsd.org/D39155
-rw-r--r--devel/git-town/Makefile8
-rw-r--r--devel/git-town/distinfo4
2 files changed, 10 insertions, 2 deletions
diff --git a/devel/git-town/Makefile b/devel/git-town/Makefile
index 42e7e6d32bd2..77de49e89011 100644
--- a/devel/git-town/Makefile
+++ b/devel/git-town/Makefile
@@ -1,7 +1,7 @@
PORTNAME= git-town
DISTVERSIONPREFIX= v
DISTVERSION= 7.9.0
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= devel
MAINTAINER= yuri@FreeBSD.org
@@ -14,9 +14,15 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= git:devel/git
USES= go:modules
+USE_GITHUB= nodefault
+GH_TUPLE= golang:sys:v0.6.0:sys
GO_MODULE= github.com/git-town/git-town/v7
PLIST_FILES= bin/${PORTNAME}
+pre-patch:
+ ${RM} -r ${WRKSRC}/vendor/golang.org/x/sys
+ ${LN} -s ${WRKDIR}/sys-* ${WRKSRC}/vendor/golang.org/x/sys
+
.include <bsd.port.mk>
diff --git a/devel/git-town/distinfo b/devel/git-town/distinfo
index e71efb0cc382..892aca8245b6 100644
--- a/devel/git-town/distinfo
+++ b/devel/git-town/distinfo
@@ -1,5 +1,7 @@
-TIMESTAMP = 1674625758
+TIMESTAMP = 1679074996
SHA256 (go/devel_git-town/git-town-v7.9.0/v7.9.0.mod) = ed5a9c17aa6e16cb36b682244c5fd195c6276df4f3d0d67b2a99603e5f13e8e2
SIZE (go/devel_git-town/git-town-v7.9.0/v7.9.0.mod) = 1940
SHA256 (go/devel_git-town/git-town-v7.9.0/v7.9.0.zip) = 08cea46221bb8c067eef4ba7402c1d2b68876a2df9a4b5f80ca4eba145020b04
SIZE (go/devel_git-town/git-town-v7.9.0/v7.9.0.zip) = 499771
+SHA256 (go/devel_git-town/git-town-v7.9.0/golang-sys-v0.6.0_GH0.tar.gz) = b4f6d17c7a128f76169964b437cb66b3f2dbf9a33361928ec19dfecf7b03fc54
+SIZE (go/devel_git-town/git-town-v7.9.0/golang-sys-v0.6.0_GH0.tar.gz) = 1434234