aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Mokrejš <mmokrejs@fold.natur.cuni.cz>2017-02-24 16:39:46 +0100
committerMartin Mokrejš <mmokrejs@fold.natur.cuni.cz>2017-02-24 16:39:46 +0100
commit90f129be2f2ff885fc32e8b90494ac4276838426 (patch)
tree7812bf4c7ffd9483f1fe5e2851610446353ff88b /sci-biology/tigr-foundation-libs/tigr-foundation-libs-2.0-r1.ebuild
parentsys-cluster/ganglia_jobmonarch: Drop broken package (diff)
downloadsci-90f129be2f2ff885fc32e8b90494ac4276838426.tar.gz
sci-90f129be2f2ff885fc32e8b90494ac4276838426.tar.bz2
sci-90f129be2f2ff885fc32e8b90494ac4276838426.zip
sci-biology/tigr-foundation-libs: fix install phase
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'sci-biology/tigr-foundation-libs/tigr-foundation-libs-2.0-r1.ebuild')
-rw-r--r--sci-biology/tigr-foundation-libs/tigr-foundation-libs-2.0-r1.ebuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/sci-biology/tigr-foundation-libs/tigr-foundation-libs-2.0-r1.ebuild b/sci-biology/tigr-foundation-libs/tigr-foundation-libs-2.0-r1.ebuild
index 540017c6c..ca8bc4d6e 100644
--- a/sci-biology/tigr-foundation-libs/tigr-foundation-libs-2.0-r1.ebuild
+++ b/sci-biology/tigr-foundation-libs/tigr-foundation-libs-2.0-r1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=5
+EAPI=6
inherit eutils
@@ -22,11 +22,10 @@ S="${WORKDIR}"/autoEditor-1.20/TigrFoundation-2.0
src_prepare(){
epatch "${FILESDIR}"/TigrFoundation-all-patches.patch
- sed -i "s:/export/usr/local:${D}/usr:g" Makefile || die
+ sed -i "s:/export/usr/local:${ED}/usr:g" Makefile || die
+ default
}
src_install(){
emake install DESTDIR="${D}/${EPREFIX}"/usr # Makefile does not respect DESTDIR
- mkdir -p "${D}/${EPREFIX}" || die
- mv "${D}"/usr "${D}/${EPREFIX}"/ || die
}