git: 06b56691df2a - main - irc/inspircd: fix PCRE2 option

From: Dries Michiels <driesm_at_FreeBSD.org>
Date: Sat, 13 Jul 2024 14:22:43 UTC
The branch main has been updated by driesm:

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

commit 06b56691df2a515c5fc91d0dd30c7b299b30da4a
Author:     Dries Michiels <driesm@FreeBSD.org>
AuthorDate: 2024-07-13 14:21:15 +0000
Commit:     Dries Michiels <driesm@FreeBSD.org>
CommitDate: 2024-07-13 14:21:15 +0000

    irc/inspircd: fix PCRE2 option
    
    PR:     280164
---
 irc/inspircd/Makefile  | 8 ++++----
 irc/inspircd/pkg-plist | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/irc/inspircd/Makefile b/irc/inspircd/Makefile
index 190dbbcdca16..270bf5367a1d 100644
--- a/irc/inspircd/Makefile
+++ b/irc/inspircd/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	inspircd
 DISTVERSIONPREFIX=	v
 DISTVERSION=	4.0.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	irc
 
 MAINTAINER=	driesm@FreeBSD.org
@@ -62,7 +62,7 @@ MAXMIND_DESC=	Build m_geo_maxmind module
 MBEDTLS_DESC=	Build m_ssl_mbedtls module
 MYSQL_DESC=	Build m_mysql module
 OPENSSL_DESC=	Build m_ssl_openssl module
-PCRE2_DESC=	Build m_regex_pcre module
+PCRE2_DESC=	Build m_regex_pcre2 module
 PGSQL_DESC=	Build m_pgsql module
 POSIX_DESC=	Build m_regex_posix module
 RE2_DESC=	Build m_regex_re2 module
@@ -86,8 +86,8 @@ MYSQL_USES=		mysql
 MYSQL_VARS=		EXTRAS+=m_mysql.cpp
 OPENSSL_USES=		ssl
 OPENSSL_VARS=		EXTRAS+=m_ssl_openssl.cpp
-PCRE2_LIB_DEPENDS=	libpcre.so:devel/pcre
-PCRE2_VARS=		EXTRAS+=m_regex_pcre.cpp
+PCRE2_LIB_DEPENDS=	libpcre2-8.so:devel/pcre2
+PCRE2_VARS=		EXTRAS+=m_regex_pcre2.cpp
 PGSQL_USES=		pgsql
 PGSQL_VARS=		EXTRAS+=m_pgsql.cpp
 POSIX_VARS=		EXTRAS+=m_regex_posix.cpp
diff --git a/irc/inspircd/pkg-plist b/irc/inspircd/pkg-plist
index 91f7ab57bc09..492e6ff234b7 100644
--- a/irc/inspircd/pkg-plist
+++ b/irc/inspircd/pkg-plist
@@ -223,7 +223,7 @@ libexec/inspircd/modules/m_services.so
 %%MBEDTLS%%libexec/inspircd/modules/m_ssl_mbedtls.so
 %%MYSQL%%libexec/inspircd/modules/m_mysql.so
 %%OPENSSL%%libexec/inspircd/modules/m_ssl_openssl.so
-%%PCRE2%%libexec/inspircd/modules/m_regex_pcre.so
+%%PCRE2%%libexec/inspircd/modules/m_regex_pcre2.so
 %%PGSQL%%libexec/inspircd/modules/m_pgsql.so
 %%POSIX%%libexec/inspircd/modules/m_regex_posix.so
 %%SQLITE%%libexec/inspircd/modules/m_sqlite3.so