diff options
| author | Guido Falsi <madpilot@FreeBSD.org> | 2022-03-28 19:14:06 +0000 |
|---|---|---|
| committer | Guido Falsi <madpilot@FreeBSD.org> | 2022-03-28 19:22:04 +0000 |
| commit | 8370ed121639270a4196b3d609f5d9baf92d698a (patch) | |
| tree | 39d65b606d954f07f18b49dd108aa38e7a267d4a /sysutils/upower | |
| parent | 6936b345a23fbb37e0986912c25c514a5713eaae (diff) | |
Diffstat (limited to 'sysutils/upower')
| -rw-r--r-- | sysutils/upower/files/patch-meson.build | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/sysutils/upower/files/patch-meson.build b/sysutils/upower/files/patch-meson.build index 9108eefe6942..42a7e4747166 100644 --- a/sysutils/upower/files/patch-meson.build +++ b/sysutils/upower/files/patch-meson.build @@ -1,6 +1,19 @@ --- meson.build.orig 2022-03-09 17:46:34 UTC +++ meson.build -@@ -105,7 +105,7 @@ endif +@@ -47,7 +47,11 @@ m_dep = cc.find_library('m', required: true) + gio_unix_dep = dependency('gio-unix-2.0', version: '>=' + glib_min_version) + m_dep = cc.find_library('m', required: true) + +-xsltproc = find_program('xsltproc', disabler: true, required: get_option('gtk-doc') or get_option('man')) ++if get_option('gtk-doc') or get_option('man') ++ xsltproc = find_program('xsltproc', disabler: true, required: get_option('gtk-doc') or get_option('man')) ++else ++ xsltproc = disabler() ++endif + + # Resolve OS backend + os_backend = get_option('os_backend') +@@ -105,7 +109,7 @@ subdir('etc') config_h = configure_file(output: 'config.h', configuration: cdata) subdir('etc') |
