aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2017-06-08 04:06:58 +0800
committeradamw <adamw@FreeBSD.org>2017-06-08 04:06:58 +0800
commit2872097bbf480b7118a187c1e3c7993a2a03b6e9 (patch)
tree31a12fb4ddea47272770570e40fb9e75d898b8a4 /mail
parent52701931fca3263b8493d93bf8c19b8363f5e594 (diff)
downloadfreebsd-ports-gnome-2872097bbf480b7118a187c1e3c7993a2a03b6e9.tar.gz
freebsd-ports-gnome-2872097bbf480b7118a187c1e3c7993a2a03b6e9.tar.zst
freebsd-ports-gnome-2872097bbf480b7118a187c1e3c7993a2a03b6e9.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')
-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*