aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorRobert Clausecker <fuz@FreeBSD.org>2023-03-24 16:15:55 +0000
committerRobert Clausecker <fuz@FreeBSD.org>2023-03-24 20:54:52 +0000
commitabff20fb8c3f7e52a7afc239896a952ef5e2bd95 (patch)
treee55da6fa6b91a75adb97f91ff8c7f421f80e6402 /net
parentd2c97995c161830b51badbdb5b444fdf165b144a (diff)
downloadports-abff20fb8c3f7e52a7afc239896a952ef5e2bd95.tar.gz
ports-abff20fb8c3f7e52a7afc239896a952ef5e2bd95.zip
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)
Diffstat (limited to 'net')
-rw-r--r--net/containernetworking-plugins/Makefile7
-rw-r--r--net/containernetworking-plugins/distinfo4
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