app-admin/mongo-tools: improve ebuild
authorTomas Mozes <hydrapolic@gmail.com>
Wed, 14 Feb 2018 15:31:56 +0000 (16:31 +0100)
committerUltrabug <ultrabug@gentoo.org>
Thu, 15 Feb 2018 15:01:55 +0000 (16:01 +0100)
Package-Manager: Portage-2.3.24, Repoman-2.3.6

app-admin/mongo-tools/mongo-tools-3.4.13.ebuild

index 1ec457f1ee8fac3996b419637288d0de89c273fd..de23914b111096a4c53cd6d82d39f3dc45e2478e 100644 (file)
@@ -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() {