svn commit: r500909 - head/net/concourse-fly

Jean-Sébastien Pédron dumbbell at FreeBSD.org
Mon May 6 10:01:51 UTC 2019


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
 


More information about the svn-ports-head mailing list