1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

shells/elvish: fix enchance version information

The instructions for how to enhance Elvish's version information has
changed.

While I'm here remove empty line from GH_TUPLE.

PR:		277194
Approved by:	Adam Jimerson <vendion@gmail.com> (maintainer)
This commit is contained in:
Qi Xiao 2024-08-26 19:53:09 +02:00 committed by Zsolt Udvari
parent 5e19f43150
commit 3851e5c18b

View File

@ -16,8 +16,7 @@ CPE_VENDOR= elv
USE_GITHUB= yes
GH_ACCOUNT= elves
GH_PROJECT= elvish
GH_TUPLE= \
creack:pty:v1.1.21:creack_pty/vendor/github.com/creack/pty \
GH_TUPLE= creack:pty:v1.1.21:creack_pty/vendor/github.com/creack/pty \
etcd-io:bbolt:v1.3.8:etcd_io_bbolt/vendor/go.etcd.io/bbolt \
golang:sync:v0.6.0:golang_sync/vendor/golang.org/x/sync \
golang:sys:v0.16.0:golang_sys/vendor/golang.org/x/sys \
@ -28,7 +27,7 @@ GH_TUPLE= \
GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME}
GO_TARGET= ./cmd/elvish
GO_BUILDFLAGS= -ldflags="-s -w -X src.elv.sh/pkg/buildinfo.Version=${DISTVERSIONPREFIX}${DISTVERSION} -X src.elv.sh/pkg/buildinfo.Reproducible=true" \
GO_BUILDFLAGS= -ldflags="-s -w -X src.elv.sh/pkg/buildinfo.BuildVariant=freebsd" \
-buildmode=pie
GO_TESTFLAGS= -race
CGO_ENABLED= 0