Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Nov 2021 16:38:57 GMT
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 1c73e88d577c - main - mail/neomutt: enforce pcre2
Message-ID:  <202111041638.1A4GcvWE044058@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bapt:

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

commit 1c73e88d577ca0bee1edb1e93036cd59ff704119
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2021-11-04 16:37:13 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2021-11-04 16:38:33 +0000

    mail/neomutt: enforce pcre2
    
    pcre2 is much faster than our internal regex engine, which makes neomutt
    slow because some part of the mail headers are parsed using regexp
    
    Reported by:    gahr
---
 mail/neomutt/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/mail/neomutt/Makefile b/mail/neomutt/Makefile
index c405f6c0d6b5..8d2337c8872c 100644
--- a/mail/neomutt/Makefile
+++ b/mail/neomutt/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	neomutt
 PORTVERSION=	20211029
+PORTREVISION=	1
 CATEGORIES=	mail
 
 MAINTAINER=	bapt@FreeBSD.org
@@ -10,6 +11,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE.md
 
 RUN_DEPENDS=	${LOCALBASE}/etc/mime.types:misc/mime-support \
 		urlview:textproc/urlview
+LIB_DEPENDS=	libpcre2-posix.so:devel/pcre2
 
 USES=		cpe iconv:translit localbase ncurses perl5 shebangfix ssl
 
@@ -42,6 +44,7 @@ SCREEN_DESC=	Screen options
 CONFIGURE_ARGS=	--with-ssl="${OPENSSLBASE}" \
 		--locales-fix \
 		--fmemopen \
+		--pcre2 \
 		--mandir=${PREFIX}/man \
 		${ICONV_CONFIGURE_ARGS}
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202111041638.1A4GcvWE044058>