git: e9088063a895 - main - devel/etcd31: fix build on riscv64
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 03 Mar 2023 21:31:20 UTC
The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=e9088063a89570622e07936be7101a846ffafead commit e9088063a89570622e07936be7101a846ffafead Author: Robert Clausecker <fuz@FreeBSD.org> AuthorDate: 2023-03-01 18:21:00 +0000 Commit: Robert Clausecker <fuz@FreeBSD.org> CommitDate: 2023-03-03 21:31:07 +0000 devel/etcd31: fix build on riscv64 Bump golang.org/x/sys and github.com/coreos/bbolt to versions that support risc64-freebsd. Sponsored by: Berliner Linux User Group e.V. Approved by: olgeni (maintainer) Approved by: eduardo (mentor) Differential Revision: https://reviews.freebsd.org/D38863 --- devel/etcd31/Makefile | 10 +++++++++- devel/etcd31/distinfo | 6 +++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/devel/etcd31/Makefile b/devel/etcd31/Makefile index 0807c54e1f8c..86cc89a798ef 100644 --- a/devel/etcd31/Makefile +++ b/devel/etcd31/Makefile @@ -1,7 +1,7 @@ PORTNAME= etcd PORTVERSION= 3.1.20 DISTVERSIONPREFIX= v -PORTREVISION= 14 +PORTREVISION= 15 CATEGORIES= devel PKGNAMEPREFIX= coreos- PKGNAMESUFFIX= 31 @@ -16,6 +16,8 @@ LICENSE_FILE= ${WRKSRC}/LICENSE USES= cpe go USE_GITHUB= yes GH_ACCOUNT= coreos +GH_TUPLE= coreos:bbolt:v1.3.7:coreos_bbolt \ + golang:sys:v0.5.0:golang_sys GO_PKGNAME= github.com/coreos/etcd GO_TARGET= ./cmd/etcd ./cmd/etcdctl @@ -29,6 +31,12 @@ PORTDOCS= README.md OPTIONS_DEFINE= DOCS DOCS_DESC= Install etcd README file +pre-patch: + ${RM} -r ${GO_WRKSRC}/cmd/vendor/github.com/coreos/bbolt + ${LN} -s ${WRKDIR}/bbolt-* ${GO_WRKSRC}/cmd/vendor/github.com/coreos/bbolt + ${RM} -r ${GO_WRKSRC}/cmd/vendor/golang.org/x/sys + ${LN} -s ${WRKDIR}/sys-* ${GO_WRKSRC}/cmd/vendor/golang.org/x/sys + post-patch: ${REINPLACE_CMD} -i '' "s@#cgo LDFLAGS: -ldl@@g;" ${WRKSRC}/cmd/vendor/github.com/coreos/pkg/dlopen/dlopen.go diff --git a/devel/etcd31/distinfo b/devel/etcd31/distinfo index d922adf1d928..b17688b1a1eb 100644 --- a/devel/etcd31/distinfo +++ b/devel/etcd31/distinfo @@ -1,3 +1,7 @@ -TIMESTAMP = 1540561389 +TIMESTAMP = 1677694209 SHA256 (coreos-etcd-v3.1.20_GH0.tar.gz) = 0ad1c8af21620f53487c0c3b7cfd17309b1e9de82ad05b906722061e7470091a SIZE (coreos-etcd-v3.1.20_GH0.tar.gz) = 2641073 +SHA256 (coreos-bbolt-v1.3.7_GH0.tar.gz) = a99c0371bd041a3ca45bd314428976f3f13408ea53dbf2f8aa74b0288889acb2 +SIZE (coreos-bbolt-v1.3.7_GH0.tar.gz) = 116699 +SHA256 (golang-sys-v0.5.0_GH0.tar.gz) = 810c8f1b7704674971ab6b2b614aba20a5a1765018fd2c639f528dbbcbf88b1f +SIZE (golang-sys-v0.5.0_GH0.tar.gz) = 1429723