- Replace embedded golang-sys by fead79001313 to fix build on aarch64

This commit is contained in:
Danilo Egea Gondolfo 2019-12-15 19:53:56 +00:00
parent a34a863aaa
commit 144525b3e9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=520195
2 changed files with 10 additions and 1 deletions

View File

@ -4,6 +4,7 @@
PORTNAME= kubectl
PORTVERSION= 1.17.0
DISTVERSIONPREFIX= v
PORTREVISION= 1
CATEGORIES= sysutils
MAINTAINER= danilo@FreeBSD.org
@ -17,6 +18,8 @@ USE_GITHUB= yes
GH_ACCOUNT= kubernetes
GH_PROJECT= kubernetes
GH_TUPLE= golang:sys:fead79001313:golang_sys/vendor/golang.org/x/sys_fead79001313
GO_PKGNAME= k8s.io/kubernetes
GO_TARGET= ${GO_PKGNAME}/cmd/${PORTNAME}
GO_BUILDFLAGS= -ldflags="-X k8s.io/component-base/version.gitMajor=${PORTVERSION:R:R} \
@ -28,4 +31,8 @@ GO_BUILDFLAGS= -ldflags="-X k8s.io/component-base/version.gitMajor=${PORTVERSION
PLIST_FILES= bin/${PORTNAME}
post-extract:
${RM} -r ${WRKSRC}/vendor/golang.org/x/sys
${MV} ${WRKSRC}/vendor/golang.org/x/sys_fead79001313 ${WRKSRC}/vendor/golang.org/x/sys
.include <bsd.port.mk>

View File

@ -1,3 +1,5 @@
TIMESTAMP = 1575928206
TIMESTAMP = 1576426015
SHA256 (kubernetes-kubernetes-v1.17.0_GH0.tar.gz) = b4f82f5006ff945edc17726ac93489173876313855020e7760b1c189fb402bb1
SIZE (kubernetes-kubernetes-v1.17.0_GH0.tar.gz) = 31727453
SHA256 (golang-sys-fead79001313_GH0.tar.gz) = c8e102db152c51438f426a92b338f924827b960e75bd9d871ae9438135366073
SIZE (golang-sys-fead79001313_GH0.tar.gz) = 1258330