diff options
Diffstat (limited to 'mail/mutt-devel/Makefile')
-rw-r--r-- | mail/mutt-devel/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/mail/mutt-devel/Makefile b/mail/mutt-devel/Makefile index 81dd2d9af00a..c6c4b0681acd 100644 --- a/mail/mutt-devel/Makefile +++ b/mail/mutt-devel/Makefile @@ -74,6 +74,13 @@ USE_OPENSSL= yes .if defined(WITH_MUTT_HTML) BUILD_DEPENDS+= sgmlfmt:${PORTSDIR}/textproc/sgmlformat .endif +.if defined(WITH_MUTT_NNTP) +.if ! exists(${LOCALBASE}/bin/inews) +BUILD_DEPENDS+= nn-inews:${PORTSDIR}/news/nn +pre-configure:: + ${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-inews +.endif +.endif .if defined(WITH_MUTT_LOCALES_FIX) CONFIGURE_ARGS+= --enable-locales-fix @@ -122,7 +129,7 @@ post-patch:: @${PERL} -pi.fbsd -e 's,/usr/bin/gpg,${LOCALBASE}/bin/gpg,g' \ ${WRKSRC}/contrib/gpg.rc -pre-configure: +pre-configure:: (cd ${WRKSRC}; aclocal -I m4) .if !defined(NOPORTDOCS) |