1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 03:35:38 +03:00
aports/testing/tpm2-tools/dont-generate-manpages-without-pandoc.patch
Rasmus Thomsen 95fcd95966
testing/tpm2-tools: build without manpages, need pandoc
And pandoc is only available on x86_64
2020-08-31 23:08:05 +02:00

18 lines
687 B
Diff

Author: Rasmus Thomsen <oss@cogitri.dev>
Reason: The logic in the configure.ac is wrong: Pandoc is a hard requirement
for the man pages and $srcdir/man/man1 always exists, so we need to use
AND here and not OR.
Upstream: No
diff --git a/configure.ac b/configure.ac
index 7b5c219..4331fd4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -30,7 +30,7 @@ AS_IF(
AM_CONDITIONAL([HAVE_PANDOC],[test "x${PANDOC}" = "xyes"])
AM_CONDITIONAL(
[HAVE_MAN_PAGES],
- [test -d "${srcdir}/man/man1" -o "x${PANDOC}" = "xyes"])
+ [test -d "${srcdir}/man/man1" -a "x${PANDOC}" = "xyes"])
AC_ARG_ENABLE([fapi],
[AS_HELP_STRING([--disable-fapi], [disable FAPI tools (default: auto)])],,