python312Packages.types-aiobotocore: 2.15.2 -> 2.15.2.post3 (#361801)
[NixPkgs.git] / pkgs / by-name / lx / lxc / docbook-hack.patch
blobf758014efbaa202239d1c36c846a076615445604
1 diff --git a/meson.build b/meson.build
2 index d1527679e..360824994 100644
3 --- a/meson.build
4 +++ b/meson.build
5 @@ -320,15 +320,7 @@ docconf.set('LXC_USERNIC_CONF', lxc_user_network_conf)
6 docconf.set('LXC_USERNIC_DB', lxc_user_network_db)
7 docconf.set('PACKAGE_VERSION', version_data.get('LXC_VERSION'))
8 docconf.set('docdtd', '"-//OASIS//DTD DocBook XML" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"')
9 -sgml2man = find_program('docbook2X2man', 'docbook2x-man', 'db2x_docbook2man', 'docbook2man', 'docbook-to-man', required: false, version: '>=0.8')
10 -if not sgml2man.found()
11 - sgml2man = find_program('docbook2man', required: false, version: '<0.8')
12 - if sgml2man.found()
13 - docconf.set('docdtd', '"-//Davenport//DTD DocBook V3.0//EN"')
14 - elif want_mans
15 - error('missing required docbook2x or docbook-utils dependency')
16 - endif
17 -endif
18 +sgml2man = find_program('docbook2X2man', 'docbook2x-man', 'db2x_docbook2man', 'docbook2man', 'docbook-to-man', required: false)
20 ## Threads.
21 threads = dependency('threads')