diff options
Diffstat (limited to 'sci-biology/elph')
-rw-r--r-- | sci-biology/elph/ChangeLog | 5 | ||||
-rw-r--r-- | sci-biology/elph/elph-1.0.1.ebuild | 16 |
2 files changed, 8 insertions, 13 deletions
diff --git a/sci-biology/elph/ChangeLog b/sci-biology/elph/ChangeLog index 06ee106a7a14..ee5cfdf2defc 100644 --- a/sci-biology/elph/ChangeLog +++ b/sci-biology/elph/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sci-biology/elph # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-biology/elph/ChangeLog,v 1.14 2010/01/01 21:33:28 fauli Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-biology/elph/ChangeLog,v 1.15 2010/08/09 18:24:26 xarthisius Exp $ + + 09 Aug 2010; Kacper Kowalik <xarthisius@gentoo.org> elph-1.0.1.ebuild: + Respect LDFLAGS wrt bug 331881. Thanks to Diego for report. 01 Jan 2010; Christian Faulhammer <fauli@gentoo.org> elph-1.0.1.ebuild: Transfer Prefix keywords diff --git a/sci-biology/elph/elph-1.0.1.ebuild b/sci-biology/elph/elph-1.0.1.ebuild index a91057097348..2b975611fb34 100644 --- a/sci-biology/elph/elph-1.0.1.ebuild +++ b/sci-biology/elph/elph-1.0.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-biology/elph/elph-1.0.1.ebuild,v 1.4 2010/01/01 21:33:28 fauli Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-biology/elph/elph-1.0.1.ebuild,v 1.5 2010/08/09 18:24:26 xarthisius Exp $ inherit eutils toolchain-funcs @@ -13,19 +13,11 @@ SLOT="0" IUSE="" KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos" -S="${WORKDIR}/ELPH/sources" - -src_unpack() { - unpack ${A} - cd "${S}" - sed -i -e "s/CC := g++/CC := $(tc-getCXX)/" \ - -e "s/-D_REENTRANT -g/-D_REENTRANT ${CXXFLAGS}/" \ - -e "s/LINKER := g++/LINKER := $(tc-getCXX)/" \ - Makefile || die "Failed to patch Makefile." -} +S=${WORKDIR}/ELPH/sources src_compile() { - emake || die "Compilation failed." + emake CC="$(tc-getCXX)" LINKER="$(tc-getCXX)" \ + CFLAGS="${CXXFLAGS} -D_REENTRANT" LDFLAGS="${LDFLAGS}" || die } src_install() { |