Index: head/shells/elvish/Makefile =================================================================== --- head/shells/elvish/Makefile +++ head/shells/elvish/Makefile @@ -3,6 +3,7 @@ PORTNAME= elvish DISTVERSIONPREFIX= v DISTVERSION= 0.12 +PORTREVISION= 1 CATEGORIES= shells MAINTAINER= vendion@gmail.com @@ -16,6 +17,9 @@ 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