summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKacper Kowalik <xarthisius@gentoo.org>2010-09-07 11:51:10 +0000
committerKacper Kowalik <xarthisius@gentoo.org>2010-09-07 11:51:10 +0000
commit475328b140167e656f5a309eeb50113d2622ec63 (patch)
treea616e02b408c2f07ef5de2d251733488f094cb48 /sci-biology/bwa
parentSilence repoman. (diff)
downloadgentoo-2-475328b140167e656f5a309eeb50113d2622ec63.tar.gz
gentoo-2-475328b140167e656f5a309eeb50113d2622ec63.tar.bz2
gentoo-2-475328b140167e656f5a309eeb50113d2622ec63.zip
Respect LDFLAGS wrt bug 336348. Thanks to Diego for the report. Add proper pthread support, drop empty DEPENDs. Drop old.
(Portage version: 2.2_rc73/cvs/Linux x86_64)
Diffstat (limited to 'sci-biology/bwa')
-rw-r--r--sci-biology/bwa/ChangeLog9
-rw-r--r--sci-biology/bwa/bwa-0.5.0-r1.ebuild (renamed from sci-biology/bwa/bwa-0.4.6.ebuild)19
2 files changed, 20 insertions, 8 deletions
diff --git a/sci-biology/bwa/ChangeLog b/sci-biology/bwa/ChangeLog
index ca7cc0fd9863..e470ca78bb48 100644
--- a/sci-biology/bwa/ChangeLog
+++ b/sci-biology/bwa/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sci-biology/bwa
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/bwa/ChangeLog,v 1.7 2010/05/23 21:15:12 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/bwa/ChangeLog,v 1.8 2010/09/07 11:51:10 xarthisius Exp $
+
+*bwa-0.5.0-r1 (07 Sep 2010)
+
+ 07 Sep 2010; Kacper Kowalik <xarthisius@gentoo.org> -bwa-0.4.6.ebuild,
+ +bwa-0.5.0-r1.ebuild:
+ Respect LDFLAGS wrt bug 336348. Thanks to Diego for the report. Add proper
+ pthread support, drop empty DEPENDs. Drop old.
23 May 2010; Pacho Ramos <pacho@gentoo.org> bwa-0.5.0.ebuild:
stable amd64, bug 314907
diff --git a/sci-biology/bwa/bwa-0.4.6.ebuild b/sci-biology/bwa/bwa-0.5.0-r1.ebuild
index 3ec0d2e9d1c5..1cf519c13e64 100644
--- a/sci-biology/bwa/bwa-0.4.6.ebuild
+++ b/sci-biology/bwa/bwa-0.5.0-r1.ebuild
@@ -1,9 +1,11 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/bwa/bwa-0.4.6.ebuild,v 1.3 2009/06/12 00:52:47 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/bwa/bwa-0.5.0-r1.ebuild,v 1.1 2010/09/07 11:51:10 xarthisius Exp $
EAPI=2
+inherit flag-o-matic toolchain-funcs
+
DESCRIPTION="Burrows-Wheeler Alignment Tool, a fast short genomic sequence aligner"
HOMEPAGE="http://maq.sourceforge.net/"
SRC_URI="mirror://sourceforge/maq/${P}.tar.bz2"
@@ -13,11 +15,14 @@ SLOT="0"
IUSE=""
KEYWORDS="~amd64 ~x86"
-DEPEND=""
-RDEPEND=""
-
src_prepare() {
- sed -e "/^CFLAGS.*/d" -i "${S}"/Makefile
+ sed -e "s/\$(CC) \$(CFLAGS)/\$(CC) \$(LDFLAGS) \$(CFLAGS)/" \
+ -i "${S}"/Makefile || die #336348
+ append-flags -pthread
+}
+
+src_compile() {
+ emake -e CC="$(tc-getCC)" || die
}
src_install() {
@@ -25,5 +30,5 @@ src_install() {
doman bwa.1 || die
exeinto /usr/share/${PN}
doexe solid2fastq.pl || die
- dodoc ChangeLog NEWS
+ dodoc ChangeLog NEWS || die
}