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

Collapse All | Expand All

(-)pam_krb5-20030601-r1.ebuild (-6 / +6 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_krb5/pam_krb5-20030601-r1.ebuild,v 1.5 2007/07/02 15:28:41 peper Exp $
3
# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_krb5/pam_krb5-20030601-r1.ebuild,v 1.5 2007/07/02 15:28:41 peper Exp $
4
4
5
inherit eutils
5
inherit eutils pam
6
6
7
MY_PN="${PN}_snap"
7
MY_PN="${PN}_snap"
8
MY_PV="${PV:0:4}.${PV:4:2}.${PV:6:2}"
8
MY_PV="${PV:0:4}.${PV:4:2}.${PV:6:2}"
Lines 27-33 Link Here
27
	unpack ${A}
27
	unpack ${A}
28
28
29
	# bug #66919
29
	# bug #66919
30
	epatch ${FILESDIR}/${P}-defaultrealm.patch
30
	epatch "${FILESDIR}"/${P}-defaultrealm.patch
31
}
31
}
32
32
33
src_compile() {
33
src_compile() {
Lines 36-50 Link Here
36
	CFLAGS="${CFLAGS}" CXXFLAGS="{$CXXFLAGS}" \
36
	CFLAGS="${CFLAGS}" CXXFLAGS="{$CXXFLAGS}" \
37
		econf \
37
		econf \
38
			--localstatedir=/var \
38
			--localstatedir=/var \
39
			--with-pamdir=/lib/security \
39
			--with-pamdir=$(getpam_mod_dir) \
40
			--with-krb5=/usr \
40
			--with-krb5=/usr \
41
			${myconf} || die "./configure failed."
41
			${myconf}
42
42
43
	emake CFLAGS="${CFLAGS}" || die
43
	emake CFLAGS="${CFLAGS}" || die "emake failed"
44
}
44
}
45
45
46
src_install() {
46
src_install() {
47
	make DESTDIR=${D} install || die
47
	make DESTDIR="${D}" install || die "install failed"
48
48
49
	if use afs ; then
49
	if use afs ; then
50
		if [ -f .libs/pam_krb5afs.so ]; then
50
		if [ -f .libs/pam_krb5afs.so ]; then

Return to bug 192042