git: 379250cab056 - main - www/mod_php74: Fix CONFLICTS_INSTALL

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 09 Jul 2022 16:05:13 UTC
The branch main has been updated by bofh:

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

commit 379250cab056cb669b87532e7f1773826d5f09ca
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2022-07-09 15:45:14 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2022-07-09 16:04:30 +0000

    www/mod_php74: Fix CONFLICTS_INSTALL
    
    - After d4b3ad6 mod_php* ports creates CONFLICTS with php* ports itself
    - Adopt port
    
    Reported by:    vvd@unislabs.com
    Fixes:          d4b3ad make CONFLICTS_INSTALL visible to PHP module ports
    MFH:            2022Q3
    Sponsored by:   Bounce Experts
---
 www/mod_php74/Makefile | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/www/mod_php74/Makefile b/www/mod_php74/Makefile
index 1c81ca2d3c57..d1fa2c1abc2c 100644
--- a/www/mod_php74/Makefile
+++ b/www/mod_php74/Makefile
@@ -1,13 +1,16 @@
+PORTREVISION=	1
 CATEGORIES=	www devel
 PKGNAMEPREFIX=	mod_
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	bofh@FreeBSD.org
+
+CONFLICTS_INSTALL=	mod_php[0-9][0-9]
 
 PHP_PORT=	lang/php74
 MASTERDIR=	${.CURDIR}/../../${PHP_PORT}
 
-OPTIONS_DEFINE=	AP2FILTER
-AP2FILTER_DESC=	Use Apache 2.x filter interface (experimental)
-OPTIONS_EXCLUDE=CGI CLI FPM EMBED
+OPTIONS_DEFINE=		AP2FILTER
+OPTIONS_EXCLUDE=	CGI CLI EMBED FPM
+AP2FILTER_DESC=		Use Apache 2.x filter interface (experimental)
 
 .include "${MASTERDIR}/Makefile"