git: cbe5fce7bf71 - main - devel/venom: fix venom version
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 29 Mar 2024 10:47:51 UTC
The branch main has been updated by bapt: URL: https://cgit.FreeBSD.org/ports/commit/?id=cbe5fce7bf71fbd6b745a474d98aee0d6f2bbcb6 commit cbe5fce7bf71fbd6b745a474d98aee0d6f2bbcb6 Author: Baptiste Daroussin <bapt@FreeBSD.org> AuthorDate: 2024-03-29 10:46:47 +0000 Commit: Baptiste Daroussin <bapt@FreeBSD.org> CommitDate: 2024-03-29 10:47:49 +0000 devel/venom: fix venom version Upstream passes the version via ldflags in a bundled Makefile, Let's do the same --- devel/venom/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/devel/venom/Makefile b/devel/venom/Makefile index f80158eca53f..64ec2a09cf81 100644 --- a/devel/venom/Makefile +++ b/devel/venom/Makefile @@ -1,5 +1,6 @@ PORTNAME= venom PORTVERSION= 1.2.0 +PORTREVISION= 1 DISTVERSIONPREFIX= v CATEGORIES= devel @@ -14,6 +15,7 @@ USES= go:modules GO_MODULE= github.com/ovh/venom GO_TARGET= ./cmd/venom +GO_BUILDFLAGS= -ldflags "-X github.com/ovh/venom.Version=v${PORTVERSION}" PLIST_FILES= bin/venom