git: d0a2b40346e4 - 2023Q4 - deskutils/kuserfeedback: Use devel/phpunit9

From: Jason E. Hale <jhale_at_FreeBSD.org>
Date: Fri, 03 Nov 2023 22:12:28 UTC
The branch 2023Q4 has been updated by jhale:

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

commit d0a2b40346e410d3c3482a354aadb2e453a490e5
Author:     Jason E. Hale <jhale@FreeBSD.org>
AuthorDate: 2023-11-03 20:46:38 +0000
Commit:     Jason E. Hale <jhale@FreeBSD.org>
CommitDate: 2023-11-03 22:12:15 +0000

    deskutils/kuserfeedback: Use devel/phpunit9
    
    The SERVER option was broken because devel/phpunit6 was removed 7
    months ago.
    
    Disable finding phpunit if SERVER option is disabled.
    
    MFH:            2023Q4
    (cherry picked from commit ef8b76e2e56f30befac955ac5abf5e1ac71dcded)
---
 deskutils/kuserfeedback/Makefile | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/deskutils/kuserfeedback/Makefile b/deskutils/kuserfeedback/Makefile
index e349ba6fc672..1eb3d3c04d60 100644
--- a/deskutils/kuserfeedback/Makefile
+++ b/deskutils/kuserfeedback/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	kuserfeedback
 DISTVERSION=	1.2.0
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	deskutils kde
 MASTER_SITES=	KDE/stable/${PORTNAME}/
 
@@ -20,8 +20,8 @@ OPTIONS_DEFINE=	SERVER
 
 SERVER_DESC=		Enable all features (requires php)
 SERVER_USES=		php
-SERVER_CMAKE_BOOL=	ENABLE_PHP
-SERVER_BUILD_DEPENDS=	phpunit:devel/phpunit6@${PHP_FLAVOR}
-SERVER_RUN_DEPENDS=	phpunit:devel/phpunit6@${PHP_FLAVOR}
+SERVER_CMAKE_BOOL=	ENABLE_PHP ENABLE_PHP_UNIT
+SERVER_BUILD_DEPENDS=	phpunit:devel/phpunit9@${PHP_FLAVOR}
+SERVER_RUN_DEPENDS=	phpunit:devel/phpunit9@${PHP_FLAVOR}
 
 .include <bsd.port.mk>