git: 5d3b802e93da - main - www/adguardhome: Fix build

From: Guangyuan Yang <ygy_at_FreeBSD.org>
Date: Tue, 05 Apr 2022 04:23:37 UTC
The branch main has been updated by ygy:

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

commit 5d3b802e93dadb51f686dfbad65ba2475d44fc1a
Author:     Guangyuan Yang <ygy@FreeBSD.org>
AuthorDate: 2022-04-05 04:23:05 +0000
Commit:     Guangyuan Yang <ygy@FreeBSD.org>
CommitDate: 2022-04-05 04:23:05 +0000

    www/adguardhome: Fix build
    
    adguardhome has a dependency which does not support go 1.18 yet. Use
    1.17 for now.
    
    PR:             262994
    Reported by:    Yonas Yanfa <yonas.yanfa@gmail.com>
    Approved by:    portmgr (implicit, build fix)
---
 www/adguardhome/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/www/adguardhome/Makefile b/www/adguardhome/Makefile
index f6151be57a8e..5f1cee823f3c 100644
--- a/www/adguardhome/Makefile
+++ b/www/adguardhome/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	adguardhome
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.107.0-b.7
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	www
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -13,6 +13,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 USES=		cpe go:modules
 
 GO_MODULE=	github.com/AdguardTeam/AdGuardHome
+GO_PORT=	lang/go117 # quic-go does not build on Go 1.18 yet
 
 # to rebuild the deps archives:
 #   1. set DEV_UPDATE_MODE=yes