diff options
author | Kacper Kowalik <xarthisius@gentoo.org> | 2011-03-14 09:37:27 +0000 |
---|---|---|
committer | Kacper Kowalik <xarthisius@gentoo.org> | 2011-03-14 09:37:27 +0000 |
commit | bbe1f27c8ea7a38d685e0e137f865b1feccea8de (patch) | |
tree | 708979ba42e00df2402ab29f9b55908bd5d383bc /sci-biology/samtools | |
parent | Initial commit for smokeping (diff) | |
download | gentoo-2-bbe1f27c8ea7a38d685e0e137f865b1feccea8de.tar.gz gentoo-2-bbe1f27c8ea7a38d685e0e137f865b1feccea8de.tar.bz2 gentoo-2-bbe1f27c8ea7a38d685e0e137f865b1feccea8de.zip |
Drop empty RDEP/DEP, respect CC,LDFLAGS wrt 358563. Thanks to Diego for the report.
(Portage version: 2.2.0_alpha26/cvs/Linux x86_64)
Diffstat (limited to 'sci-biology/samtools')
-rw-r--r-- | sci-biology/samtools/ChangeLog | 9 | ||||
-rw-r--r-- | sci-biology/samtools/samtools-0.1.12a-r1.ebuild (renamed from sci-biology/samtools/samtools-0.1.12a.ebuild) | 18 |
2 files changed, 18 insertions, 9 deletions
diff --git a/sci-biology/samtools/ChangeLog b/sci-biology/samtools/ChangeLog index 614bee7692bd..8ac0f6446300 100644 --- a/sci-biology/samtools/ChangeLog +++ b/sci-biology/samtools/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sci-biology/samtools # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-biology/samtools/ChangeLog,v 1.4 2011/02/18 05:05:41 weaver Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-biology/samtools/ChangeLog,v 1.5 2011/03/14 09:37:27 xarthisius Exp $ + +*samtools-0.1.12a-r1 (14 Mar 2011) + + 14 Mar 2011; Kacper Kowalik <xarthisius@gentoo.org> -samtools-0.1.12a.ebuild, + +samtools-0.1.12a-r1.ebuild: + Drop empty RDEP/DEP, respect CC,LDFLAGS wrt 358563. Thanks to Diego for the + report. *samtools-0.1.12a (18 Feb 2011) diff --git a/sci-biology/samtools/samtools-0.1.12a.ebuild b/sci-biology/samtools/samtools-0.1.12a-r1.ebuild index 7285c5dc2230..963f27c77d57 100644 --- a/sci-biology/samtools/samtools-0.1.12a.ebuild +++ b/sci-biology/samtools/samtools-0.1.12a-r1.ebuild @@ -1,11 +1,13 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-biology/samtools/samtools-0.1.12a.ebuild,v 1.2 2011/02/18 05:07:16 weaver Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-biology/samtools/samtools-0.1.12a-r1.ebuild,v 1.1 2011/03/14 09:37:27 xarthisius Exp $ EAPI="2" +inherit toolchain-funcs + DESCRIPTION="Utilities for SAM (Sequence Alignment/Map), a format for large nucleotide sequence alignments" -HOMEPAGE="http://${PN}.sourceforge.net/" +HOMEPAGE="http://samtools.sourceforge.net/" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" LICENSE="MIT" @@ -13,17 +15,17 @@ SLOT="0" IUSE="" KEYWORDS="~amd64 ~x86 ~x64-macos" -DEPEND="" -RDEPEND="" - src_prepare() { - sed -i 's/^CFLAGS=/CFLAGS+=/' "${S}"/{Makefile,misc/Makefile} || die + sed -e '/^CFLAGS=/d' \ + -e "s/\$(CC) \$(CFLAGS)/& \$(LDFLAGS)/g" \ + -e "s/-shared/& \$(LDFLAGS)/" \ + -i "${S}"/{Makefile,misc/Makefile} || die #358563 sed -i 's~/software/bin/python~/usr/bin/env python~' "${S}"/misc/varfilter.py || die } src_compile() { - emake dylib || die - emake || die + emake CC="$(tc-getCC)" dylib || die + emake CC="$(tc-getCC)" || die } src_install() { |