git: 47aa25ba321b - 2022Q2 - www/adguardhome: Fix build

From: Guangyuan Yang <ygy_at_FreeBSD.org>
Date: Fri, 22 Apr 2022 07:36:51 UTC
The branch 2022Q2 has been updated by ygy:

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

commit 47aa25ba321b5563cd08944c83b484da75d6b90c
Author:     Guangyuan Yang <ygy@FreeBSD.org>
AuthorDate: 2022-04-05 04:23:05 +0000
Commit:     Guangyuan Yang <ygy@FreeBSD.org>
CommitDate: 2022-04-22 07:36:35 +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)
    
    (cherry picked from commit 5d3b802e93dadb51f686dfbad65ba2475d44fc1a)
---
 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