git: 83b19a87c593 - main - www/adguardhome: Fix bug that adguardhome didn't show its version
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 24 Jul 2022 17:39:28 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=83b19a87c593645ab3120f2711e562fd6a0f9174 commit 83b19a87c593645ab3120f2711e562fd6a0f9174 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-07-24 17:38:41 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-07-24 17:39:26 +0000 www/adguardhome: Fix bug that adguardhome didn't show its version --- www/adguardhome/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/www/adguardhome/Makefile b/www/adguardhome/Makefile index f1554a4a9569..52cadb15f9b9 100644 --- a/www/adguardhome/Makefile +++ b/www/adguardhome/Makefile @@ -1,6 +1,7 @@ PORTNAME= adguardhome DISTVERSIONPREFIX= v DISTVERSION= 0.107.8 +PORTREVISION= 1 CATEGORIES= www MAINTAINER= yuri@FreeBSD.org @@ -30,6 +31,10 @@ USE_RC_SUBR= ${PORTNAME} CPE_VENDOR= adguard +post-patch: + # workaround for https://github.com/AdguardTeam/AdGuardHome/issues/4774 + @${REINPLACE_CMD} -e 's|version string|version string = "${PORTVERSION}"|' ${WRKSRC}/internal/version/version.go + .if (${DEV_UPDATE_MODE} == "yes") BUILD_DEPENDS= npm:www/npm \ yarn:www/yarn