summaryrefslogtreecommitdiff
path: root/mail/neomutt
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2017-06-07 20:06:58 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2017-06-07 20:06:58 +0000
commit8e16407bc4b15c25ab826bee13e02f789322515c (patch)
tree31a12fb4ddea47272770570e40fb9e75d898b8a4 /mail/neomutt
parent6a565e29e5ee4423a5c5a96fb785a1c12dbc4d9c (diff)
downloadfreebsd-ports-8e16407bc4b15c25ab826bee13e02f789322515c.zip
Fix build when DOCS is off.
neomutt now tries to build HTML docs unconditionally, so simply remove the xsltproc commands when DOCS is off to fix build and packaging.
Diffstat (limited to 'mail/neomutt')
-rw-r--r--mail/neomutt/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/mail/neomutt/Makefile b/mail/neomutt/Makefile
index 43a17e91b956..1ad791600212 100644
--- a/mail/neomutt/Makefile
+++ b/mail/neomutt/Makefile
@@ -93,6 +93,9 @@ DOCS_BUILD_DEPENDS= xsltproc:textproc/libxslt \
post-patch:
@${REINPLACE_CMD} '/LIBS=$$/d' ${WRKSRC}/configure.ac
+post-patch-DOCS-off:
+ @${REINPLACE_CMD} -e 's/xsltproc.*//' ${WRKSRC}/doc/Makefile.am
+
post-install:
${RM} ${STAGEDIR}${PREFIX}/etc/mime*