FreeBSD Bugzilla – Attachment 205457 Details for
Bug 238916
net-mgmt/prometheus2: Switch to USES=go:modules, fix build with go1.13beta1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch file
prometheus-2.10.0.patch (text/plain), 1.05 KB, created by
Dmitri Goutnik
on 2019-07-01 13:04:03 UTC
(
hide
)
Description:
patch file
Filename:
MIME Type:
Creator:
Dmitri Goutnik
Created:
2019-07-01 13:04:03 UTC
Size:
1.05 KB
patch
obsolete
>Index: net-mgmt/prometheus2/Makefile >=================================================================== >--- net-mgmt/prometheus2/Makefile (revision 505531) >+++ net-mgmt/prometheus2/Makefile (working copy) >@@ -11,7 +11,7 @@ > LICENSE= APACHE20 > LICENSE_FILE= ${WRKSRC}/LICENSE > >-USES= go gmake >+USES= go:modules gmake > USE_GITHUB= yes > USE_RC_SUBR= prometheus > >@@ -55,19 +55,11 @@ > ${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}" >+GO_TARGET= ${PROMETHEUS_BINARIES:S/^/.\/cmd\//} > >-do-build: >-.for bin in ${PROMETHEUS_BINARIES} >- ( cd ${GO_WRKSRC}/cmd/${bin} ; \ >- ${SETENV} ${MAKE_ENV} ${GO_ENV} \ >- ${GO_CMD} install ${GO_BUILDFLAGS} ) >-.endfor >- >-do-install: >-.for bin in ${PROMETHEUS_BINARIES} >- ${INSTALL_PROGRAM} ${GO_WRKDIR_BIN}/${bin} ${STAGEDIR}${PREFIX}/bin >-.endfor >+post-install: > ${INSTALL_DATA} \ > ${WRKSRC}/documentation/examples/prometheus.yml \ > ${STAGEDIR}${LOCALBASE}/etc/prometheus.yml.sample
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
Flags:
dor.bsd
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 238916
: 205457