diff options
author | Sven Wegener <swegener@gentoo.org> | 2017-09-07 21:13:27 +0000 |
---|---|---|
committer | Sven Wegener <swegener@gentoo.org> | 2017-09-07 21:16:01 +0000 |
commit | 68ced461e4afa020857c45dd112d3d3ccb3aab85 (patch) | |
tree | 192300fb11cb0c6e0207f947e476d490a4051f39 /sys-auth/google-authenticator | |
parent | sys-auth/google-authenticator: Unconditionally run autotools (diff) | |
download | gentoo-68ced461e4afa020857c45dd112d3d3ccb3aab85.tar.gz gentoo-68ced461e4afa020857c45dd112d3d3ccb3aab85.tar.bz2 gentoo-68ced461e4afa020857c45dd112d3d3ccb3aab85.zip |
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@gentoo.org>
Diffstat (limited to 'sys-auth/google-authenticator')
-rw-r--r-- | sys-auth/google-authenticator/google-authenticator-1.04.ebuild | 6 | ||||
-rw-r--r-- | sys-auth/google-authenticator/google-authenticator-9999.ebuild | 6 |
2 files changed, 12 insertions, 0 deletions
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 } |