git: 1207779d1fc8 - main - www/mod_php80: Fix CONFLICTS_INSTALL

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

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

commit 1207779d1fc8321cab649394bfd23178548c1b88
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2022-07-09 15:55:32 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2022-07-09 16:04:30 +0000

    www/mod_php80: 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_php80/Makefile | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/www/mod_php80/Makefile b/www/mod_php80/Makefile
index cb7d4ce11e35..775b9efc9b2a 100644
--- a/www/mod_php80/Makefile
+++ b/www/mod_php80/Makefile
@@ -1,13 +1,17 @@
+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/php80
 MASTERDIR=	${.CURDIR}/../../${PHP_PORT}
 
-OPTIONS_DEFINE=	AP2FILTER
+OPTIONS_DEFINE=		AP2FILTER
+OPTIONS_EXCLUDE=	CGI CLI EMBED FPM
+
 AP2FILTER_DESC=	Use Apache 2.x filter interface (experimental)
-OPTIONS_EXCLUDE=CGI CLI FPM EMBED
 
 .include "${MASTERDIR}/Makefile"