1 |
commit: 7227ff362b255f8a88cadc725ad2b768aeb5e54b |
2 |
Author: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> |
3 |
AuthorDate: Mon Feb 21 11:21:31 2011 +0000 |
4 |
Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> |
5 |
CommitDate: Mon Feb 21 11:21:31 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=7227ff36 |
7 |
|
8 |
sci-biology/tgicl: make sure we call perl and not perl-5.15.2 directly |
9 |
|
10 |
(Portage version: 2.1.9.28/git/Linux i686, unsigned Manifest commit) |
11 |
|
12 |
--- |
13 |
sci-biology/tgicl/tgicl-2.1.ebuild | 5 +++++ |
14 |
1 files changed, 5 insertions(+), 0 deletions(-) |
15 |
|
16 |
diff --git a/sci-biology/tgicl/tgicl-2.1.ebuild b/sci-biology/tgicl/tgicl-2.1.ebuild |
17 |
index 087a38c..5871289 100644 |
18 |
--- a/sci-biology/tgicl/tgicl-2.1.ebuild |
19 |
+++ b/sci-biology/tgicl/tgicl-2.1.ebuild |
20 |
@@ -41,4 +41,9 @@ src_install(){ |
21 |
einfo "We have to use the mgblast binary provided by upstream because it cannot be compiled against newer ncbi-tools anymore" |
22 |
einfo "We also keep pvmsx binary because the pvmsx package needs pvm3.h header which is probably the one from pvm bundle which is not in portage at all, contact sys-cluster herd" |
23 |
for f in mdust psx sclust tclust nrcl zmsort cap3 formatdb cdbfasta cdbyank; do rm -f "${D}"/usr/bin/$f || die "Cannot delete ${D}"/usr/bin/"$f"; done |
24 |
+ |
25 |
+ # fix first lines of teh script to use /usr/bin/perl instead of /usr/bin/perl-$version |
26 |
+ for f in tgicl tgicl_asm.psx tgicl_asmpta.psx tgicl_cluster.psx; do |
27 |
+ sed -i 's@^#!/usr/bin/perl-*@#! /usr/bin/perl@' "${D}"/usr/bin/$f || die "Failed to fix ${D}"/usr/bin/"$f"; |
28 |
+ done |
29 |
} |