From 9cb76485a91f8edc2c6a4cb54231a858a7a26110 Mon Sep 17 00:00:00 2001 From: Danilo Egea Gondolfo Date: Sat, 16 Mar 2019 12:23:59 +0000 Subject: [PATCH] - Fix build with go 1.12 PR: 236422 Submitted by: Dmitri Goutnik --- sysutils/istio/Makefile | 7 +++++-- sysutils/istio/distinfo | 4 +++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/sysutils/istio/Makefile b/sysutils/istio/Makefile index 8a5a969c40d3..7a9cc3965695 100644 --- a/sysutils/istio/Makefile +++ b/sysutils/istio/Makefile @@ -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 \ diff --git a/sysutils/istio/distinfo b/sysutils/istio/distinfo index 0c54caeb7edc..15eafc20a393 100644 --- a/sysutils/istio/distinfo +++ b/sysutils/istio/distinfo @@ -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