diff options
author | 2012-08-30 07:46:16 +0000 | |
---|---|---|
committer | 2012-08-30 07:46:16 +0000 | |
commit | c1a07e5da69e23f9c4886bf8c0ce903e8caacf86 (patch) | |
tree | 8242261de3998677b55b9be06bd103928a5a86ce /sci-biology | |
parent | sci-biology/allpaths: Fix for gcc-4.7 (diff) | |
download | gentoo-2-c1a07e5da69e23f9c4886bf8c0ce903e8caacf86.tar.gz gentoo-2-c1a07e5da69e23f9c4886bf8c0ce903e8caacf86.tar.bz2 gentoo-2-c1a07e5da69e23f9c4886bf8c0ce903e8caacf86.zip |
sci-biology/allpaths: Respect CXXFLAGS
(Portage version: 2.2.0_alpha123/cvs/Linux x86_64)
Diffstat (limited to 'sci-biology')
-rw-r--r-- | sci-biology/allpaths/ChangeLog | 5 | ||||
-rw-r--r-- | sci-biology/allpaths/allpaths-3.1.ebuild | 10 |
2 files changed, 13 insertions, 2 deletions
diff --git a/sci-biology/allpaths/ChangeLog b/sci-biology/allpaths/ChangeLog index 57be0ddeb00c..6cdbc2757be4 100644 --- a/sci-biology/allpaths/ChangeLog +++ b/sci-biology/allpaths/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sci-biology/allpaths # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-biology/allpaths/ChangeLog,v 1.7 2012/08/30 07:32:21 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-biology/allpaths/ChangeLog,v 1.8 2012/08/30 07:46:16 jlec Exp $ + + 30 Aug 2012; Justin Lecher <jlec@gentoo.org> allpaths-3.1.ebuild: + Respect CXXFLAGS 30 Aug 2012; Justin Lecher <jlec@gentoo.org> allpaths-3.1.ebuild, +files/allpaths-3.1-gcc4.7.patch: diff --git a/sci-biology/allpaths/allpaths-3.1.ebuild b/sci-biology/allpaths/allpaths-3.1.ebuild index 7b271ade0f05..e913ccc7a2df 100644 --- a/sci-biology/allpaths/allpaths-3.1.ebuild +++ b/sci-biology/allpaths/allpaths-3.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-biology/allpaths/allpaths-3.1.ebuild,v 1.2 2012/08/30 07:32:21 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-biology/allpaths/allpaths-3.1.ebuild,v 1.3 2012/08/30 07:46:16 jlec Exp $ EAPI=4 @@ -21,6 +21,14 @@ S="${WORKDIR}/AllPaths" PATCHES=( "${FILESDIR}"/${P}-gcc4.7.patch ) +src_prepare() { + sed \ + -e "s:-O3:${CXXFLAGS}:g" \ + -e 's:-ggdb3::g' \ + -i Makefile* || die + base_src_prepare +} + src_compile() { base_src_compile emake install_scripts |