git: abff20fb8c3f - main - net/containernetworking-plugins: fix build on riscv64
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 24 Mar 2023 20:56:57 UTC
The branch main has been updated by fuz:
URL: https://cgit.FreeBSD.org/ports/commit/?id=abff20fb8c3f7e52a7afc239896a952ef5e2bd95
commit abff20fb8c3f7e52a7afc239896a952ef5e2bd95
Author: Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2023-03-24 16:15:55 +0000
Commit: Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-03-24 20:54:52 +0000
net/containernetworking-plugins: fix build on riscv64
Bump golang.org/x/sys dependency to a version new enough
to support riscv64-freebsd.
Sponsored by: Berliner Linux User Group e.V.
Approved by: portmgr (build fix blanket)
---
net/containernetworking-plugins/Makefile | 7 ++++++-
net/containernetworking-plugins/distinfo | 4 +++-
2 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/net/containernetworking-plugins/Makefile b/net/containernetworking-plugins/Makefile
index 1b475696ef3b..ef151eb54eb5 100644
--- a/net/containernetworking-plugins/Makefile
+++ b/net/containernetworking-plugins/Makefile
@@ -1,6 +1,6 @@
PORTNAME= containernetworking-plugins
DISTVERSION= 0.2.1
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= net
MAINTAINER= dfr@FreeBSD.org
@@ -16,6 +16,11 @@ USE_GITHUB= yes
GH_ACCOUNT= dfr
GH_PROJECT= plugins
GH_TAGNAME= freebsd-v0.2.1
+GH_TUPLE= golang:sys:v0.6.0:sys
+
+pre-patch:
+ ${RM} -r ${WRKSRC}/vendor/golang.org/x/sys
+ ${LN} -s ${WRKDIR}/sys-* ${WRKSRC}/vendor/golang.org/x/sys
do-build:
cd ${WRKSRC} && ${SETENV} XDG_CACHE_HOME=${WRKDIR}/.cache GO=${GO_CMD} ./build_freebsd.sh
diff --git a/net/containernetworking-plugins/distinfo b/net/containernetworking-plugins/distinfo
index 2906a5ac54c3..17423cdacfe8 100644
--- a/net/containernetworking-plugins/distinfo
+++ b/net/containernetworking-plugins/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1669909849
+TIMESTAMP = 1679673922
SHA256 (dfr-plugins-0.2.1-freebsd-v0.2.1_GH0.tar.gz) = b915e4861e311797ab266badca84977a9daf1618c7b08c694f1402fbaa7ece66
SIZE (dfr-plugins-0.2.1-freebsd-v0.2.1_GH0.tar.gz) = 4197418
+SHA256 (golang-sys-v0.6.0_GH0.tar.gz) = b4f6d17c7a128f76169964b437cb66b3f2dbf9a33361928ec19dfecf7b03fc54
+SIZE (golang-sys-v0.6.0_GH0.tar.gz) = 1434234