FreeBSD Bugzilla – Attachment 206585 Details for
Bug 239884
www/mattermost-server: 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
mattermost-server-5.13.2.patch (text/plain), 1.90 KB, created by
Dmitri Goutnik
on 2019-08-15 15:19:00 UTC
(
hide
)
Description:
patch file
Filename:
MIME Type:
Creator:
Dmitri Goutnik
Created:
2019-08-15 15:19:00 UTC
Size:
1.90 KB
patch
obsolete
>Index: www/mattermost-server/Makefile >=================================================================== >--- www/mattermost-server/Makefile (revision 508920) >+++ www/mattermost-server/Makefile (working copy) >@@ -16,9 +16,10 @@ > RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss \ > mattermost-webapp>=${PORTVERSION}:www/mattermost-webapp > >-USES= go >+USES= go:modules > >-GO_LDFLAGS= -X github.com/mattermost/mattermost-server/model.BuildNumber=${PORTVERSION} >+GO_TARGET= ./cmd/mattermost >+GO_BUILDFLAGS= -ldflags="-X github.com/mattermost/mattermost-server/model.BuildNumber=${PORTVERSION}" > > USE_RC_SUBR= mattermostd > >@@ -33,22 +34,11 @@ > USERS= ${MATTERMOSTD_USER} > GROUPS= ${MATTERMOSTD_GROUP} > >-pre-build: >- @${MKDIR} ${WRKSRC}/src/github.com/${GH_ACCOUNT_DEFAULT}/${PORTNAME} >- @cd ${WRKSRC} && \ >- ${MV} api4 app cmd config doc einterfaces imports jobs manualtesting \ >- mlog migrations model plugin services store testlib utils web wsapi vendor \ >- ${WRKSRC}/src/github.com/${GH_ACCOUNT_DEFAULT}/${PORTNAME} >- >-do-build: >- @cd ${WRKSRC}/src/github.com/${GH_ACCOUNT_DEFAULT}/${GH_PROJECT} && \ >- ${SETENV} ${MAKE_ENV} GOPATH=${WRKSRC} go install -ldflags="${GO_LDFLAGS}" ./... >- >-do-install: >- ${INSTALL_PROGRAM} ${WRKSRC}/bin/mattermost ${STAGEDIR}${PREFIX}/bin/mattermostd >+post-install: >+ ${MV} ${STAGEDIR}${PREFIX}/bin/mattermost ${STAGEDIR}${PREFIX}/bin/mattermostd > ${MKDIR} ${STAGEDIR}${PREFIX}/etc/mattermost >- ${INSTALL_DATA} ${WRKSRC}/src/github.com/${GH_ACCOUNT_DEFAULT}/${PORTNAME}/config/default.json ${STAGEDIR}${PREFIX}/etc/mattermost/config.json.sample >+ ${INSTALL_DATA} ${GO_WRKSRC}/config/default.json ${STAGEDIR}${PREFIX}/etc/mattermost/config.json.sample > ${MKDIR} ${STAGEDIR}${WWWDIR} >- cd ${WRKSRC} && ${COPYTREE_SHARE} 'fonts i18n templates' ${STAGEDIR}${WWWDIR} >+ cd ${GO_WRKSRC} && ${COPYTREE_SHARE} 'fonts i18n templates' ${STAGEDIR}${WWWDIR} > > .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?
(loic.blot)
Actions:
View
|
Diff
Attachments on
bug 239884
: 206585