1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- From 89c42e7e0d8d5913789a76b007ed6a0c43078c63 Mon Sep 17 00:00:00 2001
- From: artoo <artoo@artixlinux.org>
- Date: Wed, 8 Sep 2021 22:41:58 +0200
- Subject: [PATCH] allow setting rc_libexecdir path
- - Allow to change the rc dir name of the rc_libexecdir path
- - Introduce a librcdir option for override with value 'rc'6
- Upstream: https://github.com/OpenRC/openrc/pull/443
- Signed-off-by: artoo <artoo@artixlinux.org>
- [Adam: update for 0.56]
- Signed-off-by: Adam Duskett <adam.duskett@amarulasolutions.com>
- ---
- meson.build | 2 +-
- meson_options.txt | 2 ++
- 2 files changed, 3 insertions(+), 1 deletion(-)
- diff --git a/meson.build b/meson.build
- index 5b3f8fa..40d4be1 100644
- --- a/meson.build
- +++ b/meson.build
- @@ -85,7 +85,7 @@ bindir = get_option('prefix') / get_option('bindir')
- libdir = get_option('prefix') / get_option('libdir')
- pluginsdir = libdir / 'rc/plugins'
- libexecdir = get_option('prefix') / get_option('libexecdir')
- -rc_libexecdir = libexecdir / 'rc'
- +rc_libexecdir = libexecdir / get_option('librcdir')
- rc_bindir = rc_libexecdir / 'bin'
- rc_sbindir = rc_libexecdir / 'sbin'
- rc_shdir = rc_libexecdir / 'sh'
- diff --git a/meson_options.txt b/meson_options.txt
- index 2c74152..d2f67e4 100644
- --- a/meson_options.txt
- +++ b/meson_options.txt
- @@ -26,3 +26,5 @@ option('sysvinit', type : 'boolean', value : false,
- description : 'enable SysVinit compatibility (linux only)')
- option('zsh-completions', type : 'boolean',
- description : 'install zsh completions')
- +option('librcdir', type : 'string', value : 'rc',
- + description : 'default location of rc libexec dir')
- --
- 2.41.0
|