FreeBSD Bugzilla – Attachment 200331 Details for
Bug 233676
sysutils/node_exporter: build has no version
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to add version
patch.diff (text/plain), 723 bytes, created by
Volodymyr Kostyrko
on 2018-12-21 12:04:33 UTC
(
hide
)
Description:
patch to add version
Filename:
MIME Type:
Creator:
Volodymyr Kostyrko
Created:
2018-12-21 12:04:33 UTC
Size:
723 bytes
patch
obsolete
>Index: sysutils/node_exporter/Makefile >=================================================================== >--- sysutils/node_exporter/Makefile (revision 487881) >+++ sysutils/node_exporter/Makefile (working copy) >@@ -23,6 +23,15 @@ > > USE_RC_SUBR= node_exporter > >+BUILD_USER?= ${USER} >+LD_FLAG_X_PREFIX= -X ${GO_PKGNAME}/vendor/${GO_PKGNAME:H}/common/version >+LD_FLAG_STRING= -s \ >+ ${LD_FLAG_X_PREFIX}.Version=${PORTVERSION} \ >+ ${LD_FLAG_X_PREFIX}.Revision=${PORTREVISION} \ >+ ${LD_FLAG_X_PREFIX}.Branch=release-${PORTVERSION:R} \ >+ ${LD_FLAG_X_PREFIX}.BuildUser=${BUILD_USER} >+GO_BUILDFLAGS= -v -ldflags "${LD_FLAG_STRING}" >+ > do-install: > ${INSTALL_PROGRAM} ${WRKDIR}/bin/node_exporter ${STAGEDIR}${PREFIX}/bin >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 233676
: 200331