--- pam_krb5-20030601-r1.ebuild 2007-07-02 17:36:11.000000000 +0200 +++ pam_krb5-20030601-r1.ebuild 2007-09-10 22:11:51.000000000 +0200 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $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 $ -inherit eutils +inherit eutils pam MY_PN="${PN}_snap" MY_PV="${PV:0:4}.${PV:4:2}.${PV:6:2}" @@ -27,7 +27,7 @@ unpack ${A} # bug #66919 - epatch ${FILESDIR}/${P}-defaultrealm.patch + epatch "${FILESDIR}"/${P}-defaultrealm.patch } src_compile() { @@ -36,15 +36,15 @@ CFLAGS="${CFLAGS}" CXXFLAGS="{$CXXFLAGS}" \ econf \ --localstatedir=/var \ - --with-pamdir=/lib/security \ + --with-pamdir=$(getpam_mod_dir) \ --with-krb5=/usr \ - ${myconf} || die "./configure failed." + ${myconf} - emake CFLAGS="${CFLAGS}" || die + emake CFLAGS="${CFLAGS}" || die "emake failed" } src_install() { - make DESTDIR=${D} install || die + make DESTDIR="${D}" install || die "install failed" if use afs ; then if [ -f .libs/pam_krb5afs.so ]; then