git: 155104e682b9 - main - mail/neomutt: unbreak build in a clean environment (+)

From: Dima Panov <fluffy_at_FreeBSD.org>
Date: Mon, 03 Apr 2023 21:27:42 UTC
The branch main has been updated by fluffy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=155104e682b9f0ab9fca68dbfe156ff1edee3b2e

commit 155104e682b9f0ab9fca68dbfe156ff1edee3b2e
Author:     Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2023-04-03 21:24:32 +0000
Commit:     Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2023-04-03 21:27:35 +0000

    mail/neomutt: unbreak build in a clean environment (+)
    
    * Declare direct dependency on a pkgconfig
    * Fix --idn2 configure option typo
    
    Reported by:    poudriere bulk -t
    Approved by:    portmgr blanket
---
 mail/neomutt/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mail/neomutt/Makefile b/mail/neomutt/Makefile
index 0de7b3a2bee2..7758a1fe5579 100644
--- a/mail/neomutt/Makefile
+++ b/mail/neomutt/Makefile
@@ -13,7 +13,7 @@ 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
+USES=		cpe iconv:translit localbase ncurses perl5 pkgconfig shebangfix ssl
 
 USE_GITHUB=	yes
 USE_PERL5=	build
@@ -68,7 +68,7 @@ NLS_CONFIGURE_ENABLE=	nls
 NLS_USES=		gettext
 
 IDN_LIB_DEPENDS=	libidn2.so:dns/libidn2
-IDN_CONFIGURE_ON=	idn2
+IDN_CONFIGURE_ON=	--idn2
 
 FLOCK_CONFIGURE_ON=	--with-lock=flock