--- /usr/portage/sys-auth/pam_pkcs11/pam_pkcs11-0.5.3.ebuild 2006-07-02 18:42:29.000000000 -0700 +++ sys-auth/pam_pkcs11/pam_pkcs11-0.5.3-r1.ebuild 2006-09-05 00:54:00.000000000 -0700 @@ -2,6 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_pkcs11/pam_pkcs11-0.5.3.ebuild,v 1.3 2006/07/03 01:27:18 vapier Exp $ +inherit eutils + DESCRIPTION="PKCS11 Pam library" HOMEPAGE="http://www.opensc-project.org/pam_pkcs11" SRC_URI="http://www.opensc-project.org/files/pam_pkcs11/${P}.tar.gz" @@ -18,6 +20,14 @@ pcsc-lite? ( sys-apps/pcsc-lite ) dev-libs/openssl" +src_unpack() { + unpack ${A} + + # Simple setup tool, from Red Hat + # Needed for app-admin/authconfig + epatch "${FILESDIR}"/${P}-setup-tool.patch +} + src_compile() { econf \ $(use_with curl) \