diff options
Diffstat (limited to 'sys-auth/pam_p11/pam_p11-0.1.5-r2.ebuild')
-rw-r--r-- | sys-auth/pam_p11/pam_p11-0.1.5-r2.ebuild | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/sys-auth/pam_p11/pam_p11-0.1.5-r2.ebuild b/sys-auth/pam_p11/pam_p11-0.1.5-r2.ebuild index 45058fdce0eb..8e7e780a8cc7 100644 --- a/sys-auth/pam_p11/pam_p11-0.1.5-r2.ebuild +++ b/sys-auth/pam_p11/pam_p11-0.1.5-r2.ebuild @@ -3,7 +3,7 @@ EAPI=6 -inherit pam flag-o-matic +inherit autotools pam flag-o-matic DESCRIPTION="PAM module for authenticating against PKCS#11 tokens" HOMEPAGE="https://github.com/opensc/pam_p11/wiki" @@ -20,16 +20,13 @@ RDEPEND="virtual/pam DEPEND="${RDEPEND} virtual/pkgconfig" -src_configure() { - # hide all the otherwise-exported symbols that may clash with - # other software loading the PAM modules (see bug #274924 as an - # example). - append-ldflags -Wl,--version-script="${FILESDIR}"/pam_symbols.ver +PATCHES=( + "${FILESDIR}/${P}-build.patch" +) - econf \ - --disable-static \ - --enable-fast-install \ - || die +src_prepare() { + default + eautoreconf } src_install() { |