git: aeae1dbd954e - main - www/mattermost-server: fix build number

Steve Wills swills at FreeBSD.org
Wed Aug 25 19:48:30 UTC 2021


The branch main has been updated by swills:

URL: https://cgit.FreeBSD.org/ports/commit/?id=aeae1dbd954e2c13cef82372e992c5606a963ee4

commit aeae1dbd954e2c13cef82372e992c5606a963ee4
Author:     Raúl <raul.munoz at custos.es>
AuthorDate: 2021-08-25 19:46:04 +0000
Commit:     Steve Wills <swills at FreeBSD.org>
CommitDate: 2021-08-25 19:48:15 +0000

    www/mattermost-server: fix build number
    
    PR:             258043
---
 www/mattermost-server/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/www/mattermost-server/Makefile b/www/mattermost-server/Makefile
index 490c8f77f8a7..f796810ea493 100644
--- a/www/mattermost-server/Makefile
+++ b/www/mattermost-server/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	mattermost-server
 PORTVERSION=	5.38.1
+PORTREVISION=	1
 DISTVERSIONPREFIX=	v
 CATEGORIES=	www
 
@@ -17,7 +18,7 @@ RUN_DEPENDS=	${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss \
 USES=		go:modules
 
 GO_TARGET=	./cmd/mattermost ./scripts/config_generator
-GO_BUILDFLAGS=	-ldflags="-X github.com/mattermost/mattermost-server/model.BuildNumber=${PORTVERSION}"
+GO_BUILDFLAGS=	-ldflags="-X github.com/mattermost/mattermost-server/v5/model.BuildNumber=${PORTVERSION}"
 
 USE_RC_SUBR=	mattermostd
 


More information about the dev-commits-ports-main mailing list