sys-auth/google-authenticator: Re-add configure arguments
authorSven Wegener <swegener@gentoo.org>
Thu, 7 Sep 2017 21:13:27 +0000 (21:13 +0000)
committerSven Wegener <swegener@gentoo.org>
Thu, 7 Sep 2017 21:16:01 +0000 (21:16 +0000)
For proper installation into /lib/security

Package-Manager: Portage-2.3.6, Repoman-2.3.3
Signed-off-by: Sven Wegener <swegener@gentoo.org>
sys-auth/google-authenticator/google-authenticator-1.04.ebuild
sys-auth/google-authenticator/google-authenticator-9999.ebuild

index 1c0f07fab0286815782774a7cc7eabf8fef94180..6c68a50616f2d9511aa014e1275a929af9abf852 100644 (file)
@@ -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
 }
index 1c0f07fab0286815782774a7cc7eabf8fef94180..6c68a50616f2d9511aa014e1275a929af9abf852 100644 (file)
@@ -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
 }