Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 May 2019 10:01:50 +0000 (UTC)
From:      =?UTF-8?Q?Jean-S=c3=a9bastien_P=c3=a9dron?= <dumbbell@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r500909 - head/net/concourse-fly
Message-ID:  <201905061001.x46A1o9R012681@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dumbbell
Date: Mon May  6 10:01:50 2019
New Revision: 500909
URL: https://svnweb.freebsd.org/changeset/ports/500909

Log:
  net/concourse-fly: Fix version returned by `fly --version`
  
  The "path" to the version variable changed in Concourse 5.x. Before this
  patch, it would thus return "0.0.0-dev".
  
  Sponsored by:	Pivotal Software, Inc.

Modified:
  head/net/concourse-fly/Makefile

Modified: head/net/concourse-fly/Makefile
==============================================================================
--- head/net/concourse-fly/Makefile	Mon May  6 09:59:49 2019	(r500908)
+++ head/net/concourse-fly/Makefile	Mon May  6 10:01:50 2019	(r500909)
@@ -13,7 +13,7 @@ LICENSE=	APACHE20
 
 GO_PKGNAME=	github.com/concourse/fly
 GO_BUILDFLAGS+=	-mod=vendor \
-		-ldflags="-X github.com/concourse/fly/version.Version=${PORTVERSION}"
+		-ldflags="-X github.com/concourse/concourse.Version=${PORTVERSION}"
 
 USES=		go tar:xz
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905061001.x46A1o9R012681>