diff options
author | Kacper Kowalik <xarthisius@gentoo.org> | 2010-06-20 14:41:57 +0000 |
---|---|---|
committer | Kacper Kowalik <xarthisius@gentoo.org> | 2010-06-20 14:41:57 +0000 |
commit | 5882684d4ce1ca7864f40383ae5197cf021f5e2b (patch) | |
tree | bae66b5fef6755673ac0ad1d86257fe6ab92751a /sci-biology | |
parent | fix HOMEPAGE (diff) | |
download | gentoo-2-5882684d4ce1ca7864f40383ae5197cf021f5e2b.tar.gz gentoo-2-5882684d4ce1ca7864f40383ae5197cf021f5e2b.tar.bz2 gentoo-2-5882684d4ce1ca7864f40383ae5197cf021f5e2b.zip |
Fixing --as-needed issues wrt bug 268094, adding threads flag, adding more docs
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'sci-biology')
-rw-r--r-- | sci-biology/exonerate/ChangeLog | 11 | ||||
-rw-r--r-- | sci-biology/exonerate/exonerate-2.2.0-r1.ebuild | 38 | ||||
-rw-r--r-- | sci-biology/exonerate/files/exonerate-2.2.0-asneeded.patch | 15 |
3 files changed, 62 insertions, 2 deletions
diff --git a/sci-biology/exonerate/ChangeLog b/sci-biology/exonerate/ChangeLog index cc22983772a3..8d9da52ea318 100644 --- a/sci-biology/exonerate/ChangeLog +++ b/sci-biology/exonerate/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sci-biology/exonerate -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-biology/exonerate/ChangeLog,v 1.1 2009/05/01 05:22:46 je_fro Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-biology/exonerate/ChangeLog,v 1.2 2010/06/20 14:41:56 xarthisius Exp $ + +*exonerate-2.2.0-r1 (20 Jun 2010) + + 20 Jun 2010; Kacper Kowalik <xarthisius@gentoo.org> + +exonerate-2.2.0-r1.ebuild, +files/exonerate-2.2.0-asneeded.patch: + Fixing --as-needed issues wrt bug 268094, adding threads flag, adding more + docs *exonerate-2.2.0 (01 May 2009) diff --git a/sci-biology/exonerate/exonerate-2.2.0-r1.ebuild b/sci-biology/exonerate/exonerate-2.2.0-r1.ebuild new file mode 100644 index 000000000000..b30475e48261 --- /dev/null +++ b/sci-biology/exonerate/exonerate-2.2.0-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-biology/exonerate/exonerate-2.2.0-r1.ebuild,v 1.1 2010/06/20 14:41:56 xarthisius Exp $ + +EAPI="2" + +inherit autotools eutils + +DESCRIPTION="exonerate is a generic tool for pairwise sequence comparison" +HOMEPAGE="http://www.ebi.ac.uk/~guy/exonerate/" +SRC_URI="http://www.ebi.ac.uk/~guy/exonerate/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="largefile utils threads" + +DEPEND="dev-libs/glib:2" +RDEPEND="${DEPEND}" + +src_prepare() { + epatch "${FILESDIR}"/${P}-asneeded.patch + eautoreconf +} + +src_configure() { + econf \ + $(use_enable largefile) \ + $(use_enable utils utilities) \ + $(use_enable threads pthreads) \ + --enable-glib2 +} + +src_install() { + emake DESTDIR="${D}" install || die "Install failed" + doman doc/man/man1/*.1 + dodoc README TODO NEWS AUTHORS ChangeLog || die +} diff --git a/sci-biology/exonerate/files/exonerate-2.2.0-asneeded.patch b/sci-biology/exonerate/files/exonerate-2.2.0-asneeded.patch new file mode 100644 index 000000000000..3268055cd544 --- /dev/null +++ b/sci-biology/exonerate/files/exonerate-2.2.0-asneeded.patch @@ -0,0 +1,15 @@ +Fix build with --as-needed + +https://bugs.gentoo.org/268094 + +--- configure.in ++++ configure.in +@@ -289,7 +289,7 @@ + if test "$enable_pthreads" = yes; then + echo "Using PTHREADS" + CFLAGS="$CFLAGS -DUSE_PTHREADS" +- LDFLAGS="$LDFLAGS -lpthread" ++ LIBS="$LIBS -lpthread" + elif test "$enable_pthreads" = no; then + echo "Not using pthreads" + else |