FreeBSD Bugzilla – Attachment 206979 Details for
Bug 240173
sysutils/consul-replicate: Unbreak with go1.13
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch file
consul-replicate-0.4.0.patch (text/plain), 1.62 KB, created by
Dmitri Goutnik
on 2019-08-28 15:08:27 UTC
(
hide
)
Description:
patch file
Filename:
MIME Type:
Creator:
Dmitri Goutnik
Created:
2019-08-28 15:08:27 UTC
Size:
1.62 KB
patch
obsolete
>Index: sysutils/consul-replicate/Makefile >=================================================================== >--- sysutils/consul-replicate/Makefile (revision 510052) >+++ sysutils/consul-replicate/Makefile (working copy) >@@ -15,8 +15,14 @@ > > USE_GITHUB= yes > GH_ACCOUNT= hashicorp >-GH_SUBDIR= src/github.com/${GH_ACCOUNT}/${PORTNAME} > >+GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME} >+GO_BUILDFLAGS= -ldflags="\ >+ -X github.com/${GH_ACCOUNT}/${PORTNAME}/version.Version=${PORTVERSION} \ >+ -X github.com/${GH_ACCOUNT}/${PORTNAME}/version.GitCommit=675a2c2 \ >+ -X github.com/${GH_ACCOUNT}/${PORTNAME}/version.GitDescribe=v${PORTVERSION} \ >+ " >+ > USE_RC_SUBR= consul-replicate > > PLIST_FILES= bin/${PORTNAME} >@@ -24,29 +30,4 @@ > USERS= consul > GROUPS= consul > >-post-extract: >- @${MV} ${WRKSRC}/vendor/ ${WRKSRC}/src/ >- >-do-build: >- @cd ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME}; \ >- ${SETENV} CGO_ENABLED=0 ${BUILD_ENV} ${MAKE_ENV} GOPATH=${WRKSRC} \ >- go build -v -x -ldflags "\ >- -X github.com/${GH_ACCOUNT}/${PORTNAME}/version.Version=${PORTVERSION} \ >- -X github.com/${GH_ACCOUNT}/${PORTNAME}/version.GitCommit=675a2c2 \ >- -X github.com/${GH_ACCOUNT}/${PORTNAME}/version.GitDescribe=v${PORTVERSION} \ >- " -o bin/${PORTNAME} >- >-do-install: >- ${INSTALL_PROGRAM} \ >- ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME}/bin/${PORTNAME} \ >- ${STAGEDIR}${PREFIX}/bin/${PORTNAME} >- >-.include <bsd.port.pre.mk> >- >-# golang assumes that if clang is in use, it is called "clang" and not "cc". If >-# it's called "cc", go fails. >-.if ${COMPILER_TYPE} == clang >-BUILD_ENV= CC=clang >-.endif >- >-.include <bsd.port.post.mk> >+.include <bsd.port.mk>
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:
dmgk
:
maintainer-approval?
(
jhixson
)
Actions:
View
|
Diff
Attachments on
bug 240173
: 206979