From 58ccfd52081defd4b6b7fe91f3f698c6c0d11ef3 Mon Sep 17 00:00:00 2001 From: Dongsu Park Date: Fri, 6 Nov 2020 13:52:06 +0100 Subject: [PATCH] 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. --- .../coreos-overlay/sys-auth/sssd/sssd-2.3.1-r2.ebuild | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/sdk_container/src/third_party/coreos-overlay/sys-auth/sssd/sssd-2.3.1-r2.ebuild b/sdk_container/src/third_party/coreos-overlay/sys-auth/sssd/sssd-2.3.1-r2.ebuild index 68e6012f17..02d632db61 100644 --- a/sdk_container/src/third_party/coreos-overlay/sys-auth/sssd/sssd-2.3.1-r2.ebuild +++ b/sdk_container/src/third_party/coreos-overlay/sys-auth/sssd/sssd-2.3.1-r2.ebuild @@ -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}"