commit: e6e886f234239519eef70adefa92b3b21b79428c Author: Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> AuthorDate: Thu Jun 23 13:51:37 2016 +0000 Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> CommitDate: Thu Jun 23 13:51:37 2016 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=e6e886f2
sci-biology/bcftools: add ${EPREFIX} in front of /usr to fix Gentoo:Prefix QA issue Package-Manager: portage-2.2.28 sci-biology/bcftools/bcftools-1.2.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sci-biology/bcftools/bcftools-1.2.ebuild b/sci-biology/bcftools/bcftools-1.2.ebuild index 318dbc9..8c60b81 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 }