diff options
author | adamw <adamw@FreeBSD.org> | 2017-06-07 20:06:58 +0000 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2017-06-07 20:06:58 +0000 |
commit | 2872097bbf480b7118a187c1e3c7993a2a03b6e9 (patch) | |
tree | 31a12fb4ddea47272770570e40fb9e75d898b8a4 | |
parent | 52701931fca3263b8493d93bf8c19b8363f5e594 (diff) | |
download | FreeBSD-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/Makefile | 3 |
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* |