git: 2002ab9ac6fb - main - dns/dns-ui: Fixup support for php8+, bump PORTREVISION

From: Ryan Steinmetz <zi_at_FreeBSD.org>
Date: Tue, 01 Feb 2022 04:26:28 UTC
The branch main has been updated by zi:

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

commit 2002ab9ac6fb80c5b23082bb3b55c84a16673e15
Author:     Ryan Steinmetz <zi@FreeBSD.org>
AuthorDate: 2022-02-01 04:25:34 +0000
Commit:     Ryan Steinmetz <zi@FreeBSD.org>
CommitDate: 2022-02-01 04:26:09 +0000

    dns/dns-ui: Fixup support for php8+, bump PORTREVISION
---
 dns/dns-ui/Makefile | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/dns/dns-ui/Makefile b/dns/dns-ui/Makefile
index 9d51f98d2663..ffa92bf4510e 100644
--- a/dns/dns-ui/Makefile
+++ b/dns/dns-ui/Makefile
@@ -1,6 +1,7 @@
 # Created by: Ryan Steinmetz <zi@FreeBSD.org>
 
 PORTNAME=	dns-ui
+PORTREVISION=	1
 DISTVERSION=	v0.2.7
 CATEGORIES=	dns
 
@@ -10,7 +11,7 @@ COMMENT=	LDAP-authenticated PowerDNS user interface by Opera
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		pgsql php:mod,cli
+USES=		pgsql php:cli
 USE_GITHUB=	yes
 GH_ACCOUNT=	operasoftware
 USE_PHP=	curl intl json ldap mbstring pdo_pgsql
@@ -23,8 +24,8 @@ OPTIONS_DEFAULT=	APACHE PGSQLSRV
 APACHE_DESC=		Use apache as webserver
 PGSQLSRV_DESC=		Use local postgres instance
 
-APACHE_RUN_DEPENDS=	mod_php74>0:www/mod_php74
-APACHE_USES=		apache:run,2.2+
+APACHE_USES=		apache:run,2.2+ php:mod
+APACHE_USES_OFF=	php:web
 PGSQLSRV_VARS=		WANT_PGSQL=server
 
 .include <bsd.port.options.mk>