git: 8cb463576eeb - main - ftp/sftpgo: unbreak build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 08 Nov 2024 14:42:29 UTC
The branch main has been updated by skozlov: URL: https://cgit.FreeBSD.org/ports/commit/?id=8cb463576eeb7bc4e5b8fc78c43220b090049bb8 commit 8cb463576eeb7bc4e5b8fc78c43220b090049bb8 Author: Serhii (Sergey) Kozlov <skozlov@FreeBSD.org> AuthorDate: 2024-11-08 14:39:46 +0000 Commit: Serhii (Sergey) Kozlov <skozlov@FreeBSD.org> CommitDate: 2024-11-08 14:39:46 +0000 ftp/sftpgo: unbreak build SFTPGo requires Go 1.22.7+, but the default is 1.21, so it doesn't build without specifying the version explicitly. Unfortunatelly, go.mk doesn't support specifying _minimum_ Go version, so I have to pin it to 1.22 even though the port builds OK on 1.23 and 1.24. --- ftp/sftpgo/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ftp/sftpgo/Makefile b/ftp/sftpgo/Makefile index fe93897454d2..2784051397e6 100644 --- a/ftp/sftpgo/Makefile +++ b/ftp/sftpgo/Makefile @@ -12,7 +12,7 @@ WWW= https://github.com/drakkan/sftpgo LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE -USES= go:modules tar:xz +USES= go:1.22,modules tar:xz USE_RC_SUBR= ${PORTNAME} NO_WRKSUBDIR= yes