Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 815880
Collapse All | Expand All

(-)a/sys-libs/pam/pam-1.5.2.ebuild (-7 / +4 lines)
Lines 9-15 MY_P="Linux-${PN^^}-${PV}" Link Here
9
# Can reconsider w/ EAPI 8 and IDEPEND, bug #810979
9
# Can reconsider w/ EAPI 8 and IDEPEND, bug #810979
10
TMPFILES_OPTIONAL=1
10
TMPFILES_OPTIONAL=1
11
11
12
inherit autotools db-use fcaps toolchain-funcs usr-ldscript multilib-minimal
12
inherit autotools db-use fcaps toolchain-funcs multilib-minimal
13
13
14
DESCRIPTION="Linux-PAM (Pluggable Authentication Modules)"
14
DESCRIPTION="Linux-PAM (Pluggable Authentication Modules)"
15
HOMEPAGE="https://github.com/linux-pam/linux-pam"
15
HOMEPAGE="https://github.com/linux-pam/linux-pam"
Lines 59-67 multilib_src_configure() { Link Here
59
		CC_FOR_BUILD="$(tc-getBUILD_CC)"
59
		CC_FOR_BUILD="$(tc-getBUILD_CC)"
60
		--with-db-uniquename=-$(db_findver sys-libs/db)
60
		--with-db-uniquename=-$(db_findver sys-libs/db)
61
		--with-xml-catalog=/etc/xml/catalog
61
		--with-xml-catalog=/etc/xml/catalog
62
		--enable-securedir=/$(get_libdir)/security
62
		--libdir=/$(get_libdir)
63
		--includedir=/usr/include/security
64
		--libdir=/usr/$(get_libdir)
65
		--enable-pie
63
		--enable-pie
66
		--enable-unix
64
		--enable-unix
67
		--disable-prelude
65
		--disable-prelude
Lines 86-97 multilib_src_compile() { Link Here
86
multilib_src_install() {
84
multilib_src_install() {
87
	emake DESTDIR="${D}" install \
85
	emake DESTDIR="${D}" install \
88
		sepermitlockdir="/run/sepermit"
86
		sepermitlockdir="/run/sepermit"
89
90
	gen_usr_ldscript -a pam pam_misc pamc
91
}
87
}
92
88
93
multilib_src_install_all() {
89
multilib_src_install_all() {
94
	find "${ED}" -type f -name '*.la' -delete || die
90
	find "${ED}" -type f -name '*.la' -delete || die
91
	dodir /usr/$(get_libdir)
92
	mv "${ED}"/$(get_libdir)/pkgconfig "${ED}"/usr/$(get_libdir) || die
95
93
96
	# tmpfiles.eclass is impossible to use because
94
	# tmpfiles.eclass is impossible to use because
97
	# there is the pam -> tmpfiles -> systemd -> pam dependency loop
95
	# there is the pam -> tmpfiles -> systemd -> pam dependency loop
98
- 

Return to bug 815880