diff options
author | Mike Gilbert <floppym@gentoo.org> | 2021-11-21 17:32:49 -0500 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2021-11-21 17:35:36 -0500 |
commit | 834518e670c13f7ccfcf8bff134074f36f404930 (patch) | |
tree | cb1544bb166d2c4e8166515d2a696d0dd9c3c2d6 /sys-libs | |
parent | dev-python/aiohttp-socks: Bump to 0.6.1 (diff) | |
download | gentoo-834518e670c13f7ccfcf8bff134074f36f404930.tar.gz gentoo-834518e670c13f7ccfcf8bff134074f36f404930.tar.bz2 gentoo-834518e670c13f7ccfcf8bff134074f36f404930.zip |
sys-libs/pam_wrapper: let cmake find libpam
pam_wrapper will still need to be rebuilt when libpam changes location,
but at least this lets it work after a rebuild.
Closes: https://bugs.gentoo.org/825078
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/pam_wrapper/pam_wrapper-1.1.3-r3.ebuild (renamed from sys-libs/pam_wrapper/pam_wrapper-1.1.3-r2.ebuild) | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/sys-libs/pam_wrapper/pam_wrapper-1.1.3-r2.ebuild b/sys-libs/pam_wrapper/pam_wrapper-1.1.3-r3.ebuild index d2d118a5478a..d71310d9c7c2 100644 --- a/sys-libs/pam_wrapper/pam_wrapper-1.1.3-r2.ebuild +++ b/sys-libs/pam_wrapper/pam_wrapper-1.1.3-r3.ebuild @@ -33,10 +33,7 @@ DEPEND=" multilib_src_configure() { configure_for_python() { - local libpam="${EPREFIX}/$(get_libdir)/libpam.so.0" - local mycmakeargs=( - -DPAM_LIBRARY="${libpam}" -DUNIT_TESTING=OFF ) @@ -50,12 +47,7 @@ multilib_src_configure() { fi # Do the regular build now - local libpam="${EPREFIX}" - multilib_is_native_abi || libpam+="/usr" - libpam+="/$(get_libdir)/libpam.so.0" - local mycmakeargs=( - -DPAM_LIBRARY="${libpam}" -DUNIT_TESTING=$(usex test) -DCMAKE_DISABLE_FIND_PACKAGE_Python{Libs,Interp,SiteLibs}=ON ) |