From 68ced461e4afa020857c45dd112d3d3ccb3aab85 Mon Sep 17 00:00:00 2001 From: Sven Wegener Date: Thu, 7 Sep 2017 21:13:27 +0000 Subject: [PATCH] sys-auth/google-authenticator: Re-add configure arguments For proper installation into /lib/security Package-Manager: Portage-2.3.6, Repoman-2.3.3 Signed-off-by: Sven Wegener --- .../google-authenticator/google-authenticator-1.04.ebuild | 6 ++++++ .../google-authenticator/google-authenticator-9999.ebuild | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/sys-auth/google-authenticator/google-authenticator-1.04.ebuild b/sys-auth/google-authenticator/google-authenticator-1.04.ebuild index 1c0f07fab028..6c68a50616f2 100644 --- a/sys-auth/google-authenticator/google-authenticator-1.04.ebuild +++ b/sys-auth/google-authenticator/google-authenticator-1.04.ebuild @@ -29,6 +29,12 @@ src_prepare() { eautoreconf } +src_configure() { + # We might want to use getpam_mod_dir from pam eclass, + # but the build already appends "/security" for us. + econf --libdir="/$(get_libdir)" +} + src_compile() { default } diff --git a/sys-auth/google-authenticator/google-authenticator-9999.ebuild b/sys-auth/google-authenticator/google-authenticator-9999.ebuild index 1c0f07fab028..6c68a50616f2 100644 --- a/sys-auth/google-authenticator/google-authenticator-9999.ebuild +++ b/sys-auth/google-authenticator/google-authenticator-9999.ebuild @@ -29,6 +29,12 @@ src_prepare() { eautoreconf } +src_configure() { + # We might want to use getpam_mod_dir from pam eclass, + # but the build already appends "/security" for us. + econf --libdir="/$(get_libdir)" +} + src_compile() { default } -- 2.26.2