Date: Fri, 25 Oct 2019 12:07:31 +0000 (UTC) From: Dmitri Goutnik <dmgk@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r515605 - head/shells/elvish Message-ID: <201910251207.x9PC7VfN004411@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dmgk Date: Fri Oct 25 12:07:31 2019 New Revision: 515605 URL: https://svnweb.freebsd.org/changeset/ports/515605 Log: shells/elvish: Set version information, omit debug info PR: 241446 Approved by: Adam Jimerson <vendion@gmail.com> (maintainer), araujo (mentor) Differential Revision: https://reviews.freebsd.org/D22149 Modified: head/shells/elvish/Makefile Modified: head/shells/elvish/Makefile ============================================================================== --- head/shells/elvish/Makefile Fri Oct 25 11:29:52 2019 (r515604) +++ head/shells/elvish/Makefile Fri Oct 25 12:07:31 2019 (r515605) @@ -3,6 +3,7 @@ PORTNAME= elvish DISTVERSIONPREFIX= v DISTVERSION= 0.12 +PORTREVISION= 1 CATEGORIES= shells MAINTAINER= vendion@gmail.com @@ -16,6 +17,9 @@ USE_GITHUB= yes GH_ACCOUNT= elves GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME} +GO_BUILDFLAGS= -ldflags="-s -w -X github.com/elves/elvish/buildinfo.Version=${DISTVERSIONPREFIX}${DISTVERSION}" \ + -gcflags="all=-trimpath=${GO_WRKSRC}" \ + -asmflags="all=-trimpath=${GO_WRKSRC}" PLIST_FILES= bin/elvish
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201910251207.x9PC7VfN004411>