aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Mokrejš <mmokrejs@fold.natur.cuni.cz>2016-06-23 15:51:37 +0200
committerMartin Mokrejš <mmokrejs@fold.natur.cuni.cz>2016-06-23 15:51:37 +0200
commite6e886f234239519eef70adefa92b3b21b79428c (patch)
tree16de3e58ffd1bb5c3674890c05439ae9e1b17920
parentsci-biology/BBmap: version bump (diff)
downloadsci-e6e886f234239519eef70adefa92b3b21b79428c.tar.gz
sci-e6e886f234239519eef70adefa92b3b21b79428c.tar.bz2
sci-e6e886f234239519eef70adefa92b3b21b79428c.zip
sci-biology/bcftools: add ${EPREFIX} in front of /usr to fix Gentoo:Prefix QA issue
Package-Manager: portage-2.2.28
-rw-r--r--sci-biology/bcftools/bcftools-1.2.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/sci-biology/bcftools/bcftools-1.2.ebuild b/sci-biology/bcftools/bcftools-1.2.ebuild
index 318dbc9d9..8c60b81c4 100644
--- a/sci-biology/bcftools/bcftools-1.2.ebuild
+++ b/sci-biology/bcftools/bcftools-1.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -21,10 +21,10 @@ RDEPEND="${DEPEND}"
src_prepare(){
sed -e "s@gcc@$(tc-getCC)@" \
- -e 's#prefix = /usr/local#prefix = /usr#' \
+ -e 's#prefix = /usr/local#prefix = "${EPREFIX}"/usr#' \
-e "s@CFLAGS = -g -Wall -Wc++-compat -O2@#CFLAGS = ${CFLAGS}@" -i Makefile || die
sed -e "s@gcc@$(tc-getCC)@" \
- -e 's#prefix = /usr/local#prefix = /usr#' \
+ -e 's#prefix = /usr/local#prefix = "${EPREFIX}"/usr#' \
-e "s@CFLAGS = -g -Wall -O2@#CFLAGS = ${CFLAGS}@" -i htslib-*/Makefile || die
}