git: 1c73e88d577c - main - mail/neomutt: enforce pcre2
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 04 Nov 2021 16:38:57 UTC
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}