FreeBSD Bugzilla – Attachment 206555 Details for
Bug 239866
finance/cointop: Switch to USES=go:modules, fix build with go1.13
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch file
cointop-1.1.2.patch (text/plain), 901 bytes, created by
Dmitri Goutnik
on 2019-08-14 20:20:44 UTC
(
hide
)
Description:
patch file
Filename:
MIME Type:
Creator:
Dmitri Goutnik
Created:
2019-08-14 20:20:44 UTC
Size:
901 bytes
patch
obsolete
>Index: finance/cointop/Makefile >=================================================================== >--- finance/cointop/Makefile (revision 508920) >+++ finance/cointop/Makefile (working copy) >@@ -10,23 +10,13 @@ > LICENSE= APACHE20 > LICENSE_FILE= ${WRKSRC}/LICENSE.md > >-USES= go >+USES= go:modules > > USE_GITHUB= yes > GH_ACCOUNT= miguelmota >-GH_PROJECT= cointop > >+GO_BUILDFLAGS= -ldflags="-X main.Version=${DISTVERSION}" >+ > PLIST_FILES= bin/cointop > >-do-build: >- @${MKDIR} ${WRKSRC}/github.com/${GH_ACCOUNT} >- @${RLN} ${WRKSRC} ${WRKSRC}/github.com/${GH_ACCOUNT}/${PORTNAME} >- @${RLN} ${WRKSRC} ${WRKSRC}/src >- cd ${WRKSRC} && \ >- ${SETENV} ${MAKE_ENV} ${GO_ENV} CGO_ENABLED=0 GOPATH=${WRKSRC} \ >- ${GO_CMD} build -ldflags "-X main.Version=${DISTVERSION}" -o bin/${PORTNAME} >- >-do-install: >- ${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ >- > .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?
(
ndowens04
)
Actions:
View
|
Diff
Attachments on
bug 239866
: 206555