Path: blob/main/dns/bind9-devel/files/patch-meson.build
21683 views
Use bind-tools option to ease the server/tools package split12--- meson.build.orig 2025-12-09 17:51:25 UTC3+++ meson.build4@@ -72,6 +72,8 @@ zlib_opt = get_option('zlib').enable_auto_if(developer5tracing_opt = get_option('tracing')6zlib_opt = get_option('zlib').enable_auto_if(developer_mode)78+bind_tools = get_option('bind-tools').enabled()9+10build_options = meson.build_options()11if build_options == ''12build_options = 'default'13@@ -1291,6 +1293,7 @@ libisccfg_dep = declare_dependency(14include_directories: isccfg_inc,15)1617+if bind_tools18executable(19'arpaname',20arpaname_src,21@@ -1503,7 +1506,9 @@ executable(22libisc_dep,23],24)25+endif2627+if not bind_tools28executable(29'named-checkconf',30named_checkconf_src,31@@ -1577,7 +1582,9 @@ endif32],33)34endif35+endif3637+if bind_tools38executable(39'named-rrchecker',40named_rrchecker_src,41@@ -1590,6 +1597,7 @@ executable(42],4344)45+endif4647named_deps = []4849@@ -1627,6 +1635,7 @@ named_srcconf = named_srcset.apply(config, strict: fal5051named_srcconf = named_srcset.apply(config, strict: false)5253+if not bind_tools54executable(55'named',56named_srcconf.sources(),57@@ -1654,7 +1663,9 @@ executable(58named_srcconf.dependencies(),59],60)61+endif6263+if bind_tools64executable(65'nsec3hash',66nsec3hash_src,67@@ -1699,7 +1710,9 @@ executable(68edit_dep,69],70)71+endif7273+if not bind_tools74executable(75'rndc-confgen',76rndc_confgen_src,77@@ -1794,6 +1807,7 @@ shared_library(78libns_dep,79],80)81+endif8283subdir('doc')84subdir('tests')85@@ -1870,7 +1884,6 @@ print(release_date, end="")86print(release_date, end="")87'''8889-if doc_opt.allowed()90release_date = ''91if python.found()92release_date = run_command(python, ['-c', get_release_date], check: true).stdout()93@@ -1891,6 +1904,7 @@ if doc_opt.allowed()9495install_man(man_pages)9697+if doc_opt.allowed()98if sphinx_build.found()99alias_target('doc-misc', doc_misc_targets)100101102103