git: 3e1dd5529544 - main - irc/anope: Switch from devel/pcre to devel/pcre2
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 30 May 2025 03:12:43 UTC
The branch main has been updated by vvd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=3e1dd552954496ff097628f4c3a4a2ff6d3dea98
commit 3e1dd552954496ff097628f4c3a4a2ff6d3dea98
Author: ek <ek@purplehat.org>
AuthorDate: 2025-05-30 02:45:22 +0000
Commit: Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-05-30 03:11:44 +0000
irc/anope: Switch from devel/pcre to devel/pcre2
Use devel/pcre2 as devel/pcre has reached EOL upstream and is marked as
DEPRECATED.
PR: 287075
Approved by: Rafael Grether <devnull@apt322.org>
---
irc/anope/Makefile | 6 +++---
irc/anope/pkg-plist | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/irc/anope/Makefile b/irc/anope/Makefile
index 0e96f36eb73c..8e61c05cbb26 100644
--- a/irc/anope/Makefile
+++ b/irc/anope/Makefile
@@ -1,6 +1,6 @@
PORTNAME= anope
DISTVERSION= 2.0.16
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= irc
MAINTAINER= devnull@apt322.org
@@ -38,7 +38,7 @@ NLS_USES= gettext
OPENSSL_USES= ssl
-PCRE_LIB_DEPENDS= libpcre.so:devel/pcre
+PCRE_LIB_DEPENDS= libpcre2-8.so:devel/pcre2
REDIS_RUN_DEPENDS= redis>=0:databases/redis
@@ -71,7 +71,7 @@ post-patch-OPENSSL-on:
${LN} -s ${WRKSRC}/modules/extra/m_ssl_openssl.cpp ${WRKSRC}/modules/
post-patch-PCRE-on:
- ${LN} -s ${WRKSRC}/modules/extra/m_regex_pcre.cpp ${WRKSRC}/modules/
+ ${LN} -s ${WRKSRC}/modules/extra/m_regex_pcre2.cpp ${WRKSRC}/modules/
post-patch-POSIX-on:
${LN} -s ${WRKSRC}/modules/extra/m_regex_posix.cpp ${WRKSRC}/modules/
diff --git a/irc/anope/pkg-plist b/irc/anope/pkg-plist
index ba0abaa06aa3..d8488f4d98b5 100644
--- a/irc/anope/pkg-plist
+++ b/irc/anope/pkg-plist
@@ -121,7 +121,7 @@ anope/lib/modules/m_httpd.so
%%MYSQL%%anope/lib/modules/m_mysql.so
anope/lib/modules/m_proxyscan.so
anope/lib/modules/m_redis.so
-%%PCRE%%anope/lib/modules/m_regex_pcre.so
+%%PCRE%%anope/lib/modules/m_regex_pcre2.so
%%POSIX%%anope/lib/modules/m_regex_posix.so
%%TRE%%anope/lib/modules/m_regex_tre.so
anope/lib/modules/m_rewrite.so