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

Collapse All | Expand All

(-)openpam-20071221.ebuild (-15 / +9 lines)
Lines 1-8 Link Here
1
# Copyright 1999-2009 Gentoo Foundation
1
# Copyright 1999-2010 Gentoo Foundation
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/openpam/openpam-20071221.ebuild,v 1.5 2009/07/08 17:00:46 the_paya Exp $
3
# $Header: $
4
4
5
inherit multilib flag-o-matic autotools
5
EAPI="2"
6
inherit multilib autotools
6
7
7
DESCRIPTION="Open source PAM library."
8
DESCRIPTION="Open source PAM library."
8
HOMEPAGE="http://www.openpam.org/"
9
HOMEPAGE="http://www.openpam.org/"
Lines 21-30 Link Here
21
22
22
PROVIDE="virtual/pam"
23
PROVIDE="virtual/pam"
23
24
24
src_unpack() {
25
src_prepare() {
25
	unpack ${A}
26
	cd "${S}"
27
28
	epatch "${FILESDIR}/${P}-gentoo.patch"
26
	epatch "${FILESDIR}/${P}-gentoo.patch"
29
	epatch "${FILESDIR}/${PN}-20050201-nbsd.patch"
27
	epatch "${FILESDIR}/${PN}-20050201-nbsd.patch"
30
	epatch "${FILESDIR}/${PN}-20050616-redef.patch"
28
	epatch "${FILESDIR}/${PN}-20050616-redef.patch"
Lines 36-53 Link Here
36
	elibtoolize
34
	elibtoolize
37
}
35
}
38
36
39
src_compile() {
37
src_configure() {
40
	econf \
38
	econf ${myconf} \
41
		--disable-dependency-tracking \
39
		--disable-dependency-tracking \
42
		--with-modules-dir=/$(get_libdir)/security/ \
40
		--with-modules-dir=/$(get_libdir)/security/
43
		${myconf} || die "econf failed"
44
45
	emake || die "emake failed"
46
}
41
}
47
42
48
src_install() {
43
src_install() {
49
	emake -j1 DESTDIR="${D}" install
44
	emake -j1 DESTDIR="${D}" install || die
50
51
	dodoc CREDITS HISTORY RELNOTES README || die
45
	dodoc CREDITS HISTORY RELNOTES README || die
52
46
53
	find "${D}" -name '*.la' -delete || die
47
	find "${D}" -name '*.la' -delete || die

Return to bug 318121