head 1.2; access; symbols; locks; strict; comment @# @; 1.2 date 2022.12.09.16.14.12; author wiz; state dead; branches; next 1.1; commitid qacpijYbdJPnTT4E; 1.1 date 2022.12.09.12.08.56; author gdt; state Exp; branches; next ; commitid USPoQqmbEvuWwS4E; desc @@ 1.2 log @ccache: perl is a build dependency Fix asciidoctor executable name to work for all ruby versions, not just the current default. @ text @$NetBSD: patch-doc_CMakeLists.txt,v 1.1 2022/12/09 12:08:56 gdt Exp $ Find where pkgsrc installs asciidoctor, rather than the normal place. Perhaps a patch should be pushed upstream that looks for versioned asciidoctor in addition to uadorned asciidoctor, or perhaps our cmake should be taught about versioned programs, or perhaps something else. --- doc/CMakeLists.txt.orig 2022-11-21 18:53:32.000000000 +0000 +++ doc/CMakeLists.txt @@@@ -1,4 +1,4 @@@@ -find_program(ASCIIDOCTOR_EXE asciidoctor) +find_program(ASCIIDOCTOR_EXE asciidoctor31) mark_as_advanced(ASCIIDOCTOR_EXE) # Don't show in CMake UIs if(NOT ASCIIDOCTOR_EXE) @ 1.1 log @devel/ccache: Find asciidoctor where pkgsrc puts it Upstream doesn't look for versioned asciidoctor, and unless pkg_alternatives helpfully hide this, the manpage build fails. @ text @d1 1 a1 1 $NetBSD$ @