From: Sven Wegener Date: Thu, 7 Sep 2017 21:13:18 +0000 (+0000) Subject: sys-auth/google-authenticator: Unconditionally run autotools X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=e42ca946a60222ae0983ddbe8d173f5d389d3af7;p=gentoo.git 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 --- diff --git a/sys-auth/google-authenticator/google-authenticator-1.04.ebuild b/sys-auth/google-authenticator/google-authenticator-1.04.ebuild index e3259cba968a..1c0f07fab028 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 e3259cba968a..1c0f07fab028 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() {