1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

- Fix build with go 1.12

PR:		236422
Submitted by:	Dmitri Goutnik
This commit is contained in:
Danilo Egea Gondolfo 2019-03-16 12:23:59 +00:00
parent 7c8701d7c3
commit 9cb76485a9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=495870
2 changed files with 8 additions and 3 deletions

View File

@ -5,13 +5,14 @@ PORTNAME= istio
PORTVERSION= 1.0.6
CATEGORIES= sysutils
PATCH_SITES= https://github.com/go4org/go4/commit/
PATCHFILES= e4fd39d.patch:-p1 # https://github.com/go4org/go4/issues/43
MAINTAINER= danilo@FreeBSD.org
COMMENT= Open platform to connect, manage, and secure microservices
LICENSE= APACHE20
BROKEN= fails to build
RUN_DEPENDS= kubectl:sysutils/kubectl
USES= go
@ -23,6 +24,8 @@ GO_TARGET= ${GO_PKGNAME}/istioctl/cmd/istioctl
GO_BUILDFLAGS= -ldflags="-X istio.io/istio/pkg/version.buildVersion=${PORTVERSION} \
-X istio.io/istio/pkg/version.buildDockerHub=docker.io/istio"
PATCH_WRKSRC= ${WRKSRC}/vendor/go4.org
post-install:
.for data in consul gcp kubernetes
(cd ${WRKSRC}/install \

View File

@ -1,3 +1,5 @@
TIMESTAMP = 1550931951
TIMESTAMP = 1552736699
SHA256 (istio-istio-1.0.6_GH0.tar.gz) = 394e75e26d6b6d5bbdabfd812b77b57433ce7b0ccc7912375e04c44eb6355809
SIZE (istio-istio-1.0.6_GH0.tar.gz) = 18973127
SHA256 (e4fd39d.patch) = b2eab467426fd1868a1223f4881237122a4727b135b98b454b5924a1cdc24a77
SIZE (e4fd39d.patch) = 3005