[Bug 214704] databases/influxdb update port to latest version

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Dec 1 17:21:00 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214704

--- Comment #4 from Vick Khera <vivek at khera.org> ---
Please also add

   -ldflags "-X main.version=${DISTVERSION}"

to the do-build target so it looks like this:

  @cd ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT} && ${SETENV}
GOPATH=${WRKSRC} go install -ldflags "-X main.version=${DISTVERSION}" ./...

This will allow InfluxDB to identify its own version upon startup.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list