commit:     a30024c5c33e6c32486c61f07b6cb149b26be71d
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Mon Sep  7 20:40:53 2020 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Mon Sep  7 20:40:53 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a30024c5

sys-apps/file: drop eautoreconf

We no longer patch Makefile.am, so this is not needed.

Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 sys-apps/file/file-5.39-r3.ebuild | 10 +++++++---
 sys-apps/file/file-9999.ebuild    | 10 +++++++---
 2 files changed, 14 insertions(+), 6 deletions(-)

diff --git a/sys-apps/file/file-5.39-r3.ebuild 
b/sys-apps/file/file-5.39-r3.ebuild
index c8425291ed7..d9f6397209d 100644
--- a/sys-apps/file/file-5.39-r3.ebuild
+++ b/sys-apps/file/file-5.39-r3.ebuild
@@ -6,11 +6,11 @@ EAPI=7
 PYTHON_COMPAT=( python3_{6..9} )
 DISTUTILS_OPTIONAL=1
 
-inherit autotools distutils-r1 libtool toolchain-funcs multilib-minimal
+inherit distutils-r1 libtool toolchain-funcs multilib-minimal
 
 if [[ ${PV} == "9999" ]] ; then
        EGIT_REPO_URI="https://github.com/glensc/file.git";
-       inherit git-r3
+       inherit autotools git-r3
 else
        SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz";
        KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 
~riscv s390 sparc x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris 
~x86-solaris"
@@ -44,7 +44,11 @@ PATCHES=(
 
 src_prepare() {
        default
-       eautoreconf
+
+       if [[ ${PV} == 9999 ]]; then
+               eautoreconf
+       fi
+
        elibtoolize
 
        # don't let python README kill main README #60043

diff --git a/sys-apps/file/file-9999.ebuild b/sys-apps/file/file-9999.ebuild
index d28938772d6..71c29604e7d 100644
--- a/sys-apps/file/file-9999.ebuild
+++ b/sys-apps/file/file-9999.ebuild
@@ -6,11 +6,11 @@ EAPI=7
 PYTHON_COMPAT=( python3_{6..9} )
 DISTUTILS_OPTIONAL=1
 
-inherit autotools distutils-r1 libtool toolchain-funcs multilib-minimal
+inherit distutils-r1 libtool toolchain-funcs multilib-minimal
 
 if [[ ${PV} == "9999" ]] ; then
        EGIT_REPO_URI="https://github.com/glensc/file.git";
-       inherit git-r3
+       inherit autotools git-r3
 else
        SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz";
        KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris 
~x64-solaris ~x86-solaris"
@@ -42,7 +42,11 @@ PATCHES=(
 
 src_prepare() {
        default
-       eautoreconf
+
+       if [[ ${PV} == 9999 ]]; then
+               eautoreconf
+       fi
+
        elibtoolize
 
        # don't let python README kill main README #60043

Reply via email to