You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sys-apps/plocate/files/plocate-1.1.5-no-systemd-ch...

22 lines
764 B

Unconditionally install systemd unit
--- a/meson.build
+++ b/meson.build
@@ -76,17 +76,9 @@
configuration: conf_data)
install_man(updatedb_conf_man)
-if get_option('install_systemd')
- systemd = dependency('systemd', required: false)
- if systemd.found()
- unitdir = systemd.get_pkgconfig_variable('systemdsystemunitdir')
updatedb_service = configure_file(input: 'plocate-updatedb.service.in',
output: 'plocate-updatedb.service',
configuration: conf_data)
- install_data(updatedb_service, install_dir: unitdir)
- install_data('plocate-updatedb.timer', install_dir: unitdir)
- endif
-endif
# Requires having TurboPFor checked out, so not built by default.
# Unless you have a recent Meson, there's no apparently good way