diff options
author | Robert Clausecker <fuz@FreeBSD.org> | 2023-03-11 12:01:06 +0000 |
---|---|---|
committer | Robert Clausecker <fuz@FreeBSD.org> | 2023-03-14 00:06:18 +0100 |
commit | c5187ab4770c77001c7c17ebfd110c1f26e755d1 (patch) | |
tree | 08902738268039399c33e7dd237fbae5ed7de8a9 /sysutils/container-diff/Makefile | |
parent | textproc/htmltest: fix build on riscv64 (diff) |
sysutils/container-diff: fix build on riscv64
Bump golang.org/x/sys dependency to a version new enough to support
riscv64-freebsd. Remove patch obsoleted through this change.
Sponsored by: Berliner Linux User Group e.V.
Approved by: portmgr (build fix blanket)
Differential Revision: https://reviews.freebsd.org/D39043
Diffstat (limited to 'sysutils/container-diff/Makefile')
-rw-r--r-- | sysutils/container-diff/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sysutils/container-diff/Makefile b/sysutils/container-diff/Makefile index ac701ff69150..aee5b4c663cd 100644 --- a/sysutils/container-diff/Makefile +++ b/sysutils/container-diff/Makefile @@ -1,7 +1,7 @@ PORTNAME= container-diff PORTVERSION= 0.17.0 DISTVERSIONPREFIX= v -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= sysutils MAINTAINER= sunpoet@FreeBSD.org @@ -12,6 +12,8 @@ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE USES= go +USE_GITHUB= nodefault +GH_TUPLE= golang:sys:v0.6.0:sys GO_PKGNAME= github.com/${GH_ACCOUNT}/${GH_PROJECT} @@ -20,4 +22,8 @@ PLIST_FILES= bin/container-diff GH_ACCOUNT= GoogleContainerTools USE_GITHUB= yes +pre-patch: + ${RM} -r ${WRKSRC}/vendor/golang.org/x/sys + ${LN} -s ${WRKDIR}/sys-* ${WRKSRC}/vendor/golang.org/x/sys + .include <bsd.port.mk> |