head 1.1; access; symbols pkgsrc-2026Q1:1.1.0.12 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.10 pkgsrc-2025Q4-base:1.1 pkgsrc-2025Q3:1.1.0.8 pkgsrc-2025Q3-base:1.1 pkgsrc-2025Q2:1.1.0.6 pkgsrc-2025Q2-base:1.1 pkgsrc-2025Q1:1.1.0.4 pkgsrc-2025Q1-base:1.1 pkgsrc-2024Q4:1.1.0.2 pkgsrc-2024Q4-base:1.1; locks; strict; comment @# @; 1.1 date 2024.11.23.18.51.19; author gdt; state Exp; branches; next ; commitid AanvRrR8SkpALNyF; desc @@ 1.1 log @sysutils/xentools418: Fix build when pandoc is installed xentools418 does not TOOLS_DEPEND on pandoc, but it looks for it and finds an installed copy. This breaks the build because of some latex issue, and would if it succeeded likely install more files, changing the binary package. Therefore, treat usage of a non-manifestly-depended-on tool as a bug and patch it out. The patch is kludgy because configure.ac doesn't support the normal approaches. With this, package builds on NetBSD 10 amd64 with pandoc present. @ text @$NetBSD$ Don't try to find pandoc because if it happens to be installed: - the build fails because of some latex footnote issue - it is not declared as a dependency and therefore should be "--without-pandoc" but I can't come up with a CONFIGURE_ARGS incantation that works --- docs/configure.orig 2024-08-14 13:45:06.000000000 +0000 +++ docs/configure @@@@ -2260,7 +2260,8 @@@@ IFS=$as_save_IFS ;; esac fi -PANDOC=$ac_cv_path_PANDOC +# Don't ever find pandoc. +PANDOC= if test -n "$PANDOC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PANDOC" >&5 $as_echo "$PANDOC" >&6; } @