summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2017-06-07 20:06:58 +0000
committeradamw <adamw@FreeBSD.org>2017-06-07 20:06:58 +0000
commit2872097bbf480b7118a187c1e3c7993a2a03b6e9 (patch)
tree31a12fb4ddea47272770570e40fb9e75d898b8a4
parent52701931fca3263b8493d93bf8c19b8363f5e594 (diff)
downloadFreeBSD-ports-2872097bbf480b7118a187c1e3c7993a2a03b6e9.zip
FreeBSD-ports-2872097bbf480b7118a187c1e3c7993a2a03b6e9.tar.gz
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.
-rw-r--r--mail/neomutt/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/mail/neomutt/Makefile b/mail/neomutt/Makefile
index 43a17e9..1ad7916 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*
OpenPOWER on IntegriCloud