commit:     20cdf456fe66ae1f118515ad95ad35c32f7eca17
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Jan  8 09:46:45 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jan  8 09:49:42 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20cdf456

sys-libs/pam: pass -Dsbindir

Otherwise, pkg_postinst will fail on non-merged-usr systems.

Reported-by: Holger Hoffstätte <holger <AT> applied-asynchrony.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../pam/{pam-1.7.0_p20241230.ebuild => pam-1.7.0_p20241230-r1.ebuild}    | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys-libs/pam/pam-1.7.0_p20241230.ebuild 
b/sys-libs/pam/pam-1.7.0_p20241230-r1.ebuild
similarity index 99%
rename from sys-libs/pam/pam-1.7.0_p20241230.ebuild
rename to sys-libs/pam/pam-1.7.0_p20241230-r1.ebuild
index 96efbca5dd48..89ce129d330f 100644
--- a/sys-libs/pam/pam-1.7.0_p20241230.ebuild
+++ b/sys-libs/pam/pam-1.7.0_p20241230-r1.ebuild
@@ -98,6 +98,7 @@ multilib_src_configure() {
 
                -Disadir='.'
                -Dxml-catalog="${BROOT}"/etc/xml/catalog
+               -Dsbindir="${EPREFIX}"/sbin
                -Dsecuredir="${EPREFIX}"/$(get_libdir)/security
                -Ddocdir="${EPREFIX}"/usr/share/doc/${PF}
                -Dhtmldir="${EPREFIX}"/usr/share/doc/${PF}/html

Reply via email to