pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

flux2: Properly define version



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Thu Apr 29 20:54:00 2021 +0200
Changeset:	bc8ac689a1f8452cb8b1f05e20a3ebcf488e037d

Modified Files:
	flux2/Makefile

Log Message:
flux2: Properly define version

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=bc8ac689a1f8452cb8b1f05e20a3ebcf488e037d

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 flux2/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diffs:
diff --git a/flux2/Makefile b/flux2/Makefile
index d8303d8dca..1c7741a60b 100644
--- a/flux2/Makefile
+++ b/flux2/Makefile
@@ -14,6 +14,8 @@ USE_TOOLS+=	bash gmake
 
 TOOL_DEPENDS+=	kustomize-[0-9]*:../../wip/kustomize
 
+GO_BUILD_PATTERN+=	-ldflags ' \
+			-X main.VERSION=${PKGVERSION_NOREV}'
 GO_BUILD_PATTERN+=	./cmd/flux
 
 SUBST_CLASSES+=		path


Home | Main Index | Thread Index | Old Index