mirror of
https://github.com/flatcar/scripts.git
synced 2025-10-03 19:42:15 +02:00
sys-auth/sssd: move runstatedir option from configure to make
Now that the upstream sssd 2.3.1 does not support `--runstatedir` option from its configure script, we need to remove the option, to unblock the configure issue like `unrecognized option --runstatedir`. Instead we need to pass `runstatedir=` to emake commands.
This commit is contained in:
parent
7dbd4ac634
commit
58ccfd5208
@ -142,7 +142,6 @@ multilib_src_configure() {
|
||||
|
||||
myconf+=(
|
||||
--localstatedir="${EPREFIX}"/var
|
||||
--runstatedir="${EPREFIX}"/run
|
||||
--with-pid-path="${EPREFIX}"/run
|
||||
--with-plugin-path="${EPREFIX}"/usr/$(get_libdir)/sssd
|
||||
--enable-pammoddir="${EPREFIX}"/$(getpam_mod_dir)
|
||||
@ -223,7 +222,8 @@ multilib_src_configure() {
|
||||
|
||||
multilib_src_compile() {
|
||||
if multilib_is_native_abi; then
|
||||
default
|
||||
# Flatcar: add runstatedir to make commands to avoid configure error
|
||||
default runstatedir="${EPREFIX}"/run
|
||||
use doc && emake docs
|
||||
if use man || use nls; then
|
||||
emake update-po
|
||||
@ -237,8 +237,9 @@ multilib_src_compile() {
|
||||
|
||||
multilib_src_install() {
|
||||
if multilib_is_native_abi; then
|
||||
# Flatcar: add sysconfdir
|
||||
emake -j1 DESTDIR="${D}" sysconfdir="/usr/share" "${_at_args[@]}" install
|
||||
# Flatcar: add runstatedir, sysconfdir
|
||||
emake -j1 DESTDIR="${D}" runstatedir="${EPREFIX}"/run \
|
||||
sysconfdir="/usr/share" "${_at_args[@]}" install
|
||||
if use python; then
|
||||
python_optimize
|
||||
python_fix_shebang "${ED}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user