Index: devel/etcd32/Makefile =================================================================== --- devel/etcd32/Makefile +++ devel/etcd32/Makefile @@ -1,7 +1,7 @@ PORTNAME= etcd PORTVERSION= 3.2.32 DISTVERSIONPREFIX= v -PORTREVISION= 12 +PORTREVISION= 13 CATEGORIES= devel PKGNAMEPREFIX= coreos- PKGNAMESUFFIX= 32 @@ -16,6 +16,8 @@ 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 @@ 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 Index: devel/etcd32/distinfo =================================================================== --- devel/etcd32/distinfo +++ devel/etcd32/distinfo @@ -1,3 +1,7 @@ -TIMESTAMP = 1617008642 +TIMESTAMP = 1677694930 SHA256 (coreos-etcd-v3.2.32_GH0.tar.gz) = 3f63ccca1a1fb442c19a892b22be4018a0075da6b4d4df5f69f991e81f89cef6 SIZE (coreos-etcd-v3.2.32_GH0.tar.gz) = 3181507 +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