Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 185050 | Differences between
and this patch

Collapse All | Expand All

(-)pam_chroot-0.9.1.ebuild (-3 / +10 lines)
Lines 2-8 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_chroot/pam_chroot-0.9.1.ebuild,v 1.2 2007/07/12 09:29:32 flameeyes Exp $
3
# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_chroot/pam_chroot-0.9.1.ebuild,v 1.2 2007/07/12 09:29:32 flameeyes Exp $
4
4
5
inherit toolchain-funcs pam flag-o-matic
5
inherit toolchain-funcs pam flag-o-matic eutils
6
6
7
DESCRIPTION="Linux-PAM module that allows a user to be chrooted in auth, account, or session."
7
DESCRIPTION="Linux-PAM module that allows a user to be chrooted in auth, account, or session."
8
HOMEPAGE="http://sourceforge.net/projects/pam-chroot/"
8
HOMEPAGE="http://sourceforge.net/projects/pam-chroot/"
Lines 17-25 Link Here
17
	!<sys-libs/pam-0.99"
17
	!<sys-libs/pam-0.99"
18
RDEPEND="${DEPEND}"
18
RDEPEND="${DEPEND}"
19
19
20
src_unpack() {
21
	unpack ${A}
22
23
	cd "${S}"
24
	epatch "${FILESDIR}/${P}-makefile.patch"
25
}
26
20
src_compile() {
27
src_compile() {
21
	append-flags "-fPIC"
28
	export LDFLAGS="$(raw-ldflags)"
22
	emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die "emake failed"
29
	emake CC="$(tc-getCC)" LD="$(tc-getLD)" || die "emake failed"
23
}
30
}
24
31
25
src_install() {
32
src_install() {

Return to bug 185050