diff options
author | Andrey Kislyuk <weaver@gentoo.org> | 2009-11-02 22:15:48 +0000 |
---|---|---|
committer | Andrey Kislyuk <weaver@gentoo.org> | 2009-11-02 22:15:48 +0000 |
commit | 7ec3185c479ad9a67dfc0fdebbf08d42e91f709e (patch) | |
tree | 41bd1cdce7bb00628bcf18fa1e09246c2f7a6217 /sci-biology/wgs-assembler/wgs-assembler-5.4.ebuild | |
parent | Version bump KDE 4.3.3 (diff) | |
download | gentoo-2-7ec3185c479ad9a67dfc0fdebbf08d42e91f709e.tar.gz gentoo-2-7ec3185c479ad9a67dfc0fdebbf08d42e91f709e.tar.bz2 gentoo-2-7ec3185c479ad9a67dfc0fdebbf08d42e91f709e.zip |
Fix paths generation
(Portage version: 2.2_rc30/cvs/Linux x86_64)
Diffstat (limited to 'sci-biology/wgs-assembler/wgs-assembler-5.4.ebuild')
-rw-r--r-- | sci-biology/wgs-assembler/wgs-assembler-5.4.ebuild | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sci-biology/wgs-assembler/wgs-assembler-5.4.ebuild b/sci-biology/wgs-assembler/wgs-assembler-5.4.ebuild index 049c55fd0733..4bcdc1a43086 100644 --- a/sci-biology/wgs-assembler/wgs-assembler-5.4.ebuild +++ b/sci-biology/wgs-assembler/wgs-assembler-5.4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-biology/wgs-assembler/wgs-assembler-5.4.ebuild,v 1.2 2009/11/02 21:18:23 weaver Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-biology/wgs-assembler/wgs-assembler-5.4.ebuild,v 1.3 2009/11/02 22:15:48 weaver Exp $ EAPI="2" @@ -46,7 +46,8 @@ src_install() { MY_S="${OSTYPE}-${MACHTYPE}" sed -i 's|#!/usr/local/bin/|#!/usr/bin/env |' $(find $MY_S -type f) || die - sed -i '/sub getBinDirectory/ a return "/usr/bin";' ${MY_S}/bin/runCA* || die + sed -i '/sub getBinDirectory ()/ a return "/usr/bin";' ${MY_S}/bin/runCA* || die + sed -i '/sub getBinDirectoryShellCode ()/ a return "bin=/usr/bin\n";' ${MY_S}/bin/runCA* || die sed -i '1 a use lib "/usr/share/'${PN}'/lib";' $(find $MY_S -name '*.p*') || die dobin kmer/${MY_S}/bin/* || die |