Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Jul 2022 13:10:27 GMT
From:      Nuno Teixeira <eduardo@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 96782ce10229 - main - sysutils/kopia: Fix --version
Message-ID:  <202207261310.26QDARnQ010822@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by eduardo:

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

commit 96782ce102299030977da8a425b430c9641af46b
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2022-07-26 13:07:29 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2022-07-26 13:10:14 +0000

    sysutils/kopia: Fix --version
    
     - bump PORTREVISION
---
 sysutils/kopia/Makefile | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/sysutils/kopia/Makefile b/sysutils/kopia/Makefile
index cc10571e5899..b4332f59c9a0 100644
--- a/sysutils/kopia/Makefile
+++ b/sysutils/kopia/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	kopia
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.11.3
+PORTREVISION=	1
 CATEGORIES=	sysutils
 
 MAINTAINER=	eduardo@FreeBSD.org
@@ -10,6 +11,10 @@ LICENSE=	APACHE20
 
 USES=		go:modules
 GO_MODULE=	github.com/kopia/kopia
+GO_BUILDFLAGS=	-ldflags "\
+		-X github.com/kopia/kopia/repo.BuildVersion=${DISTVERSION} \
+		-X github.com/kopia/kopia/repo.BuildInfo="`date +%Y%m%d`" \
+		-X github.com/kopia/kopia/repo.BuildGitHubRepo="FreeBSD/ports""
 
 PLIST_FILES=	bin/${PORTNAME}
 



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