commit:     a9f2bfc4f15d2512a4cbd9f4ae1d7ba7e5068f1c
Author:     Tomas Mozes <hydrapolic <AT> gmail <DOT> com>
AuthorDate: Wed Feb 14 15:31:56 2018 +0000
Commit:     Alexys Jacob <ultrabug <AT> gentoo <DOT> org>
CommitDate: Thu Feb 15 15:01:55 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9f2bfc4

app-admin/mongo-tools: improve ebuild

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 app-admin/mongo-tools/mongo-tools-3.4.13.ebuild | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/app-admin/mongo-tools/mongo-tools-3.4.13.ebuild 
b/app-admin/mongo-tools/mongo-tools-3.4.13.ebuild
index 1ec457f1ee8..de23914b111 100644
--- a/app-admin/mongo-tools/mongo-tools-3.4.13.ebuild
+++ b/app-admin/mongo-tools/mongo-tools-3.4.13.ebuild
@@ -3,8 +3,6 @@
 
 EAPI=6
 
-inherit eutils
-
 MY_PV=${PV/_rc/-rc}
 MY_P=${PN}-r${MY_PV}
 
@@ -27,6 +25,8 @@ DEPEND="${RDEPEND}
 S=${WORKDIR}/${MY_P}
 
 src_prepare() {
+       default
+
        # do not substitute version because it uses git
        sed -i '/^sed/,+3d' build.sh || die
        sed -i '/^mv/d' build.sh || die
@@ -39,8 +39,6 @@ src_prepare() {
 
        # ensure we use bash wrt #582906
        sed -i 's@/bin/sh@/bin/bash@g' build.sh || die
-
-       default
 }
 
 src_compile() {

Reply via email to