diff options
author | Justin Lecher <jlec@gentoo.org> | 2010-03-13 12:44:45 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2010-03-13 12:44:45 +0000 |
commit | a2e0bc60bc77b37594c4d84ee680ff67929a1692 (patch) | |
tree | 3ead9631349fa3fb105149784e5f3e03ef562ff3 /sci-biology | |
parent | Import patches from FreeBSD ports to fix build on 8.0 (diff) | |
download | gentoo-2-a2e0bc60bc77b37594c4d84ee680ff67929a1692.tar.gz gentoo-2-a2e0bc60bc77b37594c4d84ee680ff67929a1692.tar.bz2 gentoo-2-a2e0bc60bc77b37594c4d84ee680ff67929a1692.zip |
Fixed compilation w/ glibc-2.10, bug 294876
Respecting LDFLAGS
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'sci-biology')
-rw-r--r-- | sci-biology/arb/ChangeLog | 11 | ||||
-rw-r--r-- | sci-biology/arb/arb-5.1-r1.ebuild (renamed from sci-biology/arb/arb-5.1.ebuild) | 28 | ||||
-rw-r--r-- | sci-biology/arb/files/5.1-libs.patch | 16 |
3 files changed, 42 insertions, 13 deletions
diff --git a/sci-biology/arb/ChangeLog b/sci-biology/arb/ChangeLog index ec2f3bd7ce75..ed39cae6f1ca 100644 --- a/sci-biology/arb/ChangeLog +++ b/sci-biology/arb/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sci-biology/arb -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-biology/arb/ChangeLog,v 1.1 2009/10/04 00:25:29 weaver Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-biology/arb/ChangeLog,v 1.2 2010/03/13 12:44:45 jlec Exp $ + +*arb-5.1-r1 (13 Mar 2010) + + 13 Mar 2010; Justin Lecher (jlec) <jlec@gentoo.org> +files/5.1-libs.patch, + -arb-5.1.ebuild, +arb-5.1-r1.ebuild: + Fixed compilation w/ glibc-2.10, #294876 + Respecting LDFLAGS *arb-5.1 (03 Oct 2009) diff --git a/sci-biology/arb/arb-5.1.ebuild b/sci-biology/arb/arb-5.1-r1.ebuild index 21a12e1436c8..b8169e6be93e 100644 --- a/sci-biology/arb/arb-5.1.ebuild +++ b/sci-biology/arb/arb-5.1-r1.ebuild @@ -1,14 +1,17 @@ -# 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/arb/arb-5.1.ebuild,v 1.1 2009/10/04 00:25:29 weaver Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-biology/arb/arb-5.1-r1.ebuild,v 1.1 2010/03/13 12:44:45 jlec Exp $ -EAPI=2 +EAPI="2" inherit eutils toolchain-funcs DESCRIPTION="Tools for DNA/RNA sequence database handling and data analysis, phylogenetic analysis" HOMEPAGE="http://www.arb-home.de/" -SRC_URI="http://download.arb-home.de/release/arb_${PV}/arbsrc.tgz -> ${P}.tgz" +SRC_URI=" + http://download.arb-home.de/release/arb_${PV}/arbsrc.tgz -> ${P}.tgz + mirror://gentoo/${P}-glibc2.10.patch.bz2 + mirror://gentoo/${P}-linker.patch.bz2" MY_TAG=6213 LICENSE="arb" @@ -16,7 +19,8 @@ SLOT="0" IUSE="+opengl" KEYWORDS="~amd64 ~x86" -DEPEND="app-text/sablotron +DEPEND=" + app-text/sablotron www-client/lynx x11-libs/openmotif x11-libs/libXpm @@ -33,7 +37,9 @@ RDEPEND="${DEPEND} S="${WORKDIR}/arbsrc_${MY_TAG}" src_prepare() { - sed -i -e 's/getline/arb_getline/' READSEQ/ureadseq.c || die + epatch "${WORKDIR}"/${P}-glibc2.10.patch + epatch "${WORKDIR}"/${P}-linker.patch + epatch "${FILESDIR}"/${PV}-libs.patch sed -i \ -e 's/all: checks/all:/' \ -e "s/GCC:=.*/GCC=$(tc-getCC) ${CFLAGS}/" \ @@ -57,10 +63,10 @@ src_compile() { src_install() { ARBHOME="${D}/opt/arb" "${S}/arb_install.sh" || die - cat <<EOF > "${S}/99${PN}" -ARBHOME=/opt/arb -PATH=/opt/arb/bin -LD_LIBRARY_PATH=/opt/arb/lib -EOF + cat <<- EOF > "${S}/99${PN}" + ARBHOME=/opt/arb + PATH=/opt/arb/bin + LD_LIBRARY_PATH=/opt/arb/lib + EOF doenvd "${S}/99${PN}" || die } diff --git a/sci-biology/arb/files/5.1-libs.patch b/sci-biology/arb/files/5.1-libs.patch new file mode 100644 index 000000000000..bf0bacad3286 --- /dev/null +++ b/sci-biology/arb/files/5.1-libs.patch @@ -0,0 +1,16 @@ +diff --git a/SOURCE_TOOLS/provide_libs.pl b/SOURCE_TOOLS/provide_libs.pl +index b653a66..b346c96 100644 +--- a/SOURCE_TOOLS/provide_libs.pl ++++ b/SOURCE_TOOLS/provide_libs.pl +@@ -118,11 +118,6 @@ sub provide_libs($$$) { + foreach my $lib (keys %needed_by) { + update_lib($lib, $bindir.'/'.$needed_by{$lib}, $addlibsdir); + } +- if ($opengl==1) { +- foreach my $lib (keys %needed_by_opengl) { +- update_lib($lib, $bindir.'/'.$needed_by_opengl{$lib}, $addlibsdir); +- } +- } + } + + sub main() { |