git: c11ac810d890 - main - sysutils/helmfile: add version info

From: Fernando Apesteguía <fernape_at_FreeBSD.org>
Date: Mon, 24 Jan 2022 11:21:15 UTC
The branch main has been updated by fernape:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c11ac810d8909b30e42a3c1fbb57ee804dca61fb

commit c11ac810d8909b30e42a3c1fbb57ee804dca61fb
Author:     Pavel Timofeev <timp87@gmail.com>
AuthorDate: 2022-01-21 07:05:01 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2022-01-24 11:19:35 +0000

    sysutils/helmfile: add version info
    
    Uncomment line for version info.
    
    PR:     261297
    Reported by:    timp87@gmail.com (maintainer)
---
 sysutils/helmfile/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sysutils/helmfile/Makefile b/sysutils/helmfile/Makefile
index 1773980d8179..c5d2f9ae34eb 100644
--- a/sysutils/helmfile/Makefile
+++ b/sysutils/helmfile/Makefile
@@ -3,6 +3,7 @@
 PORTNAME=	helmfile
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.142.0
+PORTREVISION=	1
 CATEGORIES=	sysutils
 
 MAINTAINER=	timp87@gmail.com
@@ -160,7 +161,7 @@ post-extract:
 	@${RM} -r ${WRKSRC}/vendor/github.com/hashicorp/vault/sdk
 	@${RLN} ${WRKSRC_hashicorp_vault_sdk}/sdk ${WRKSRC}/vendor/github.com/hashicorp/vault/sdk
 
-#GO_BUILDFLAGS=	-ldflags="-X github.com/roboll/helmfile/pkg/app/version.Version=v${PORTVERSION}"
+GO_BUILDFLAGS=	-ldflags="-X github.com/roboll/helmfile/pkg/app/version.Version=v${PORTVERSION}"
 
 PLIST_FILES=	bin/${PORTNAME}