commit: e42ca946a60222ae0983ddbe8d173f5d389d3af7 Author: Sven Wegener <swegener <AT> gentoo <DOT> org> AuthorDate: Thu Sep 7 21:13:18 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=e42ca946
sys-auth/google-authenticator: Unconditionally run autotools The github archive does not contain pregenerated autotools files. 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 | 8 +++----- sys-auth/google-authenticator/google-authenticator-9999.ebuild | 8 +++----- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/sys-auth/google-authenticator/google-authenticator-1.04.ebuild b/sys-auth/google-authenticator/google-authenticator-1.04.ebuild index e3259cba968..1c0f07fab02 100644 --- a/sys-auth/google-authenticator/google-authenticator-1.04.ebuild +++ b/sys-auth/google-authenticator/google-authenticator-1.04.ebuild @@ -3,11 +3,11 @@ EAPI="6" -inherit multilib +inherit autotools multilib if [[ ${PV} == 9999 ]] ; then EGIT_REPO_URI="https://github.com/google/google-authenticator-libpam.git" - inherit git-r3 autotools + inherit git-r3 else SRC_URI="https://github.com/google/google-authenticator-libpam/archive/${PV}.tar.gz -> ${P}.tar.gz" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" @@ -26,9 +26,7 @@ RDEPEND="${DEPEND}" src_prepare() { default - if [[ ${PV} == 9999 ]] ; then - eautoreconf - fi + eautoreconf } src_compile() { diff --git a/sys-auth/google-authenticator/google-authenticator-9999.ebuild b/sys-auth/google-authenticator/google-authenticator-9999.ebuild index e3259cba968..1c0f07fab02 100644 --- a/sys-auth/google-authenticator/google-authenticator-9999.ebuild +++ b/sys-auth/google-authenticator/google-authenticator-9999.ebuild @@ -3,11 +3,11 @@ EAPI="6" -inherit multilib +inherit autotools multilib if [[ ${PV} == 9999 ]] ; then EGIT_REPO_URI="https://github.com/google/google-authenticator-libpam.git" - inherit git-r3 autotools + inherit git-r3 else SRC_URI="https://github.com/google/google-authenticator-libpam/archive/${PV}.tar.gz -> ${P}.tar.gz" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" @@ -26,9 +26,7 @@ RDEPEND="${DEPEND}" src_prepare() { default - if [[ ${PV} == 9999 ]] ; then - eautoreconf - fi + eautoreconf } src_compile() {