svn commit: r531019 - head/devel/shfmt

Tobias Kortkamp tobik at FreeBSD.org
Tue Apr 7 15:16:49 UTC 2020


Author: tobik
Date: Tue Apr  7 15:16:48 2020
New Revision: 531019
URL: https://svnweb.freebsd.org/changeset/ports/531019

Log:
  devel/shfmt: Fix shfmt -version output

Modified:
  head/devel/shfmt/Makefile

Modified: head/devel/shfmt/Makefile
==============================================================================
--- head/devel/shfmt/Makefile	Tue Apr  7 15:01:39 2020	(r531018)
+++ head/devel/shfmt/Makefile	Tue Apr  7 15:16:48 2020	(r531019)
@@ -23,6 +23,7 @@ GH_TUPLE=	go-errgo:errgo:v2.1.0:go_errgo_errgo/vendor/
 		pkg:diff:531926345625:pkg_diff/vendor/github.com/pkg/diff \
 		rogpeppe:go-internal:v1.5.2:rogpeppe_go_internal/vendor/github.com/rogpeppe/go-internal
 GO_TARGET=	./cmd/shfmt
+GO_BUILDFLAGS=	-ldflags="-s -w -X main.version=${DISTVERSIONFULL}"
 GO_TESTTARGET=	./cmd/shfmt
 PLIST_FILES=	bin/shfmt
 


More information about the svn-ports-head mailing list