commit:     68ced461e4afa020857c45dd112d3d3ccb3aab85
Author:     Sven Wegener <swegener <AT> gentoo <DOT> org>
AuthorDate: Thu Sep  7 21:13:27 2017 +0000
Commit:     Sven Wegener <swegener <AT> gentoo <DOT> org>
CommitDate: Thu Sep  7 21:16:01 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68ced461

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 <swegener <AT> gentoo.org>

 sys-auth/google-authenticator/google-authenticator-1.04.ebuild | 6 ++++++
 sys-auth/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 1c0f07fab02..6c68a50616f 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 1c0f07fab02..6c68a50616f 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
 }

Reply via email to