summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Mozes <hydrapolic@gmail.com>2018-02-14 16:31:56 +0100
committerUltrabug <ultrabug@gentoo.org>2018-02-15 16:01:55 +0100
commita9f2bfc4f15d2512a4cbd9f4ae1d7ba7e5068f1c (patch)
tree1677c3c67cf81d3bdcbecc292efc64759611d102 /app-admin/mongo-tools
parentdev-db/mongodb: improve ebuild (diff)
downloadgentoo-a9f2bfc4f15d2512a4cbd9f4ae1d7ba7e5068f1c.tar.gz
gentoo-a9f2bfc4f15d2512a4cbd9f4ae1d7ba7e5068f1c.tar.bz2
gentoo-a9f2bfc4f15d2512a4cbd9f4ae1d7ba7e5068f1c.zip
app-admin/mongo-tools: improve ebuild
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'app-admin/mongo-tools')
-rw-r--r--app-admin/mongo-tools/mongo-tools-3.4.13.ebuild6
1 files 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 1ec457f1ee8f..de23914b1110 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() {