pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/shells/oh-my-posh
Module Name: pkgsrc
Committed By: pin
Date: Tue Jul 4 15:49:57 UTC 2023
Modified Files:
pkgsrc/shells/oh-my-posh: Makefile
Log Message:
shells/oh-my-posh: restore version output
Restore output of 'oh-my-posh version' command.
To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 pkgsrc/shells/oh-my-posh/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/shells/oh-my-posh/Makefile
diff -u pkgsrc/shells/oh-my-posh/Makefile:1.37 pkgsrc/shells/oh-my-posh/Makefile:1.38
--- pkgsrc/shells/oh-my-posh/Makefile:1.37 Tue Jul 4 01:36:59 2023
+++ pkgsrc/shells/oh-my-posh/Makefile Tue Jul 4 15:49:57 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.37 2023/07/04 01:36:59 schmonz Exp $
+# $NetBSD: Makefile,v 1.38 2023/07/04 15:49:57 pin Exp $
DISTNAME= oh-my-posh-17.6.0
CATEGORIES= shells
@@ -16,6 +16,8 @@ USE_LANGUAGES= c
INSTALLATION_DIRS= share/${PKGBASE}
+GO_BUILD_PATTERN= -ldflags="-s -w -X 'github.com/jandedobbeleer/oh-my-posh/src/build.Version=${PKGVERSION_NOREV}'" ./...
+
post-build:
${MV} ${WRKDIR}/.gopath/bin/src ${WRKDIR}/.gopath/bin/oh-my-posh
Home |
Main Index |
Thread Index |
Old Index