commit:     9435a0b23e97bc85d69638064502b4b360063939
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 23 19:20:37 2025 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Mon Jun 23 19:20:37 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9435a0b2

sys-libs/pam: always use a native file for doc stubs

Closes: https://bugs.gentoo.org/958906
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 sys-libs/pam/pam-1.7.1.ebuild | 12 +++---------
 1 file changed, 3 insertions(+), 9 deletions(-)

diff --git a/sys-libs/pam/pam-1.7.1.ebuild b/sys-libs/pam/pam-1.7.1.ebuild
index 13ee4cbbf1de..9aa013491b7b 100644
--- a/sys-libs/pam/pam-1.7.1.ebuild
+++ b/sys-libs/pam/pam-1.7.1.ebuild
@@ -9,7 +9,7 @@ MY_P="Linux-${PN^^}-${PV}"
 # Can reconsider w/ EAPI 8 and IDEPEND, bug #810979
 TMPFILES_OPTIONAL=1
 
-inherit db-use fcaps flag-o-matic meson-multilib toolchain-funcs
+inherit db-use fcaps flag-o-matic meson-multilib
 
 DESCRIPTION="Linux-PAM (Pluggable Authentication Modules)"
 HOMEPAGE="https://github.com/linux-pam/linux-pam";
@@ -95,15 +95,9 @@ multilib_src_configure() {
        w3m='true'
        EOF
 
-       local emesonargs=()
+       local emesonargs=(
+               --native-file "${machine_file}"
 
-       if tc-is-cross-compiler; then
-               emesonargs+=( --cross-file "${machine_file}" )
-       else
-               emesonargs+=( --native-file "${machine_file}" )
-       fi
-
-       emesonargs+=(
                $(meson_feature audit)
                $(meson_native_use_bool examples)
                $(meson_use debug pam-debug)

Reply via email to