pkgsrc-WIP-changes archive

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

crush: Fixed version information, thx to iquiw



Module Name:	pkgsrc-wip
Committed By:	Marcin Gondek <drixter%e-utp.net@localhost>
Pushed By:	drixter
Date:		Sun Jun 7 19:18:15 2026 +0200
Changeset:	390b929e27a450ce55d6eb41ab2f49fd6d8f4bb5

Modified Files:
	TODO
	crush/Makefile
	crush/go-modules.mk

Log Message:
crush: Fixed version information, thx to iquiw

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

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

diffstat:
 TODO                | 1 -
 crush/Makefile      | 3 +++
 crush/go-modules.mk | 1 -
 3 files changed, 3 insertions(+), 2 deletions(-)

diffs:
diff --git a/TODO b/TODO
index fc3888621f..0974fed300 100644
--- a/TODO
+++ b/TODO
@@ -23,7 +23,6 @@ Suggested package updates
 	o chapel-1.32.0
 	o cinelerra-4.5
 	o codex-0.98.0
-	o crush-0.76.0
 	o d4x-2.5.7.1
 	o daphne-1.0
 	o deadbeef-1.9.6
diff --git a/crush/Makefile b/crush/Makefile
index a44b877bd1..8d67cecaff 100644
--- a/crush/Makefile
+++ b/crush/Makefile
@@ -1,6 +1,7 @@
 # $NetBSD$
 
 DISTNAME=	crush-0.76.0
+PKGREVISION=	1
 CATEGORIES=	devel lang
 MASTER_SITES=	${MASTER_SITE_GITHUB:=charmbracelet/}
 GITHUB_TAG=	v${PKGVERSION_NOREV}
@@ -12,6 +13,8 @@ LICENSE=	fsl-1.1-mit-license
 
 USE_LANGUAGES=	c
 
+GOFLAGS=	-ldflags="-X github.com/charmbracelet/crush/internal/version.Version=v${PKGVERSION_NOREV}"
+
 post-install:
 	${RM} ${DESTDIR}${PREFIX}/bin/example
 
diff --git a/crush/go-modules.mk b/crush/go-modules.mk
index 57fa9270b2..581ea93b16 100644
--- a/crush/go-modules.mk
+++ b/crush/go-modules.mk
@@ -1,4 +1,3 @@
-===> Extracting for crush-0.76.0
 # $NetBSD$
 
 GO_MODULE_FILES+=	charm.land/bubbles/v2/@v/v2.1.0.mod


Home | Main Index | Thread Index | Old Index