diff options
author | Justin Lecher <jlec@gentoo.org> | 2010-11-15 21:03:06 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2010-11-15 21:03:06 +0000 |
commit | 5d289e1b0e57176dd941929e33088ca4a8066c0e (patch) | |
tree | a7b36c61e507498d0ac65449650f49d07b03de82 /sci-biology/ncbi-tools | |
parent | Revision bump to fix check for jack support (bug #321313 by Fabio Rossi). Bum... (diff) | |
download | gentoo-2-5d289e1b0e57176dd941929e33088ca4a8066c0e.tar.gz gentoo-2-5d289e1b0e57176dd941929e33088ca4a8066c0e.tar.bz2 gentoo-2-5d289e1b0e57176dd941929e33088ca4a8066c0e.zip |
Use system csh instead of shebang
(Portage version: 2.1.9.24/cvs/Linux x86_64)
Diffstat (limited to 'sci-biology/ncbi-tools')
-rw-r--r-- | sci-biology/ncbi-tools/ChangeLog | 6 | ||||
-rw-r--r-- | sci-biology/ncbi-tools/ncbi-tools-20090809-r2.ebuild | 9 | ||||
-rw-r--r-- | sci-biology/ncbi-tools/ncbi-tools-20100808.ebuild | 9 |
3 files changed, 19 insertions, 5 deletions
diff --git a/sci-biology/ncbi-tools/ChangeLog b/sci-biology/ncbi-tools/ChangeLog index 9e6e193665c6..0243095b3e28 100644 --- a/sci-biology/ncbi-tools/ChangeLog +++ b/sci-biology/ncbi-tools/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sci-biology/ncbi-tools # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-biology/ncbi-tools/ChangeLog,v 1.80 2010/10/10 21:22:56 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-biology/ncbi-tools/ChangeLog,v 1.81 2010/11/15 21:03:06 jlec Exp $ + + 15 Nov 2010; Justin Lecher <jlec@gentoo.org> + ncbi-tools-20090809-r2.ebuild, ncbi-tools-20100808.ebuild: + Use system csh instead of shebang 10 Oct 2010; Ulrich Mueller <ulm@gentoo.org> ncbi-tools-20080302.ebuild, ncbi-tools-20090809.ebuild, ncbi-tools-20090809-r2.ebuild, diff --git a/sci-biology/ncbi-tools/ncbi-tools-20090809-r2.ebuild b/sci-biology/ncbi-tools/ncbi-tools-20090809-r2.ebuild index 4669db0981d4..07b6f1392b4d 100644 --- a/sci-biology/ncbi-tools/ncbi-tools-20090809-r2.ebuild +++ b/sci-biology/ncbi-tools/ncbi-tools-20090809-r2.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/ncbi-tools/ncbi-tools-20090809-r2.ebuild,v 1.2 2010/10/10 21:22:56 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-biology/ncbi-tools/ncbi-tools-20090809-r2.ebuild,v 1.3 2010/11/15 21:03:06 jlec Exp $ EAPI="3" @@ -108,12 +108,17 @@ src_prepare() { # We use dynamic libraries sed -i -e "s/-Wl,-Bstatic//" *linux*.ncbi.mk || die + + sed \ + -re "s:/usr(/bin/.*sh):\1:g" \ + -e "s:(/bin/.*sh):${EPREFIX}\1:g" \ + -i $(find ${S} -type f) || die } src_compile() { export EXTRA_VIB cd "${WORKDIR}" - ncbi/make/makedis.csh || die + csh ncbi/make/makedis.csh || die mkdir "${S}"/cgi mkdir "${S}"/real mv "${S}"/bin/*.cgi "${S}"/cgi || die diff --git a/sci-biology/ncbi-tools/ncbi-tools-20100808.ebuild b/sci-biology/ncbi-tools/ncbi-tools-20100808.ebuild index 5acb20f98efc..683bf65c9010 100644 --- a/sci-biology/ncbi-tools/ncbi-tools-20100808.ebuild +++ b/sci-biology/ncbi-tools/ncbi-tools-20100808.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/ncbi-tools/ncbi-tools-20100808.ebuild,v 1.2 2010/10/10 21:22:56 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-biology/ncbi-tools/ncbi-tools-20100808.ebuild,v 1.3 2010/11/15 21:03:06 jlec Exp $ EAPI="3" @@ -108,12 +108,17 @@ src_prepare() { # We use dynamic libraries sed -i -e "s/-Wl,-Bstatic//" *linux*.ncbi.mk || die + + sed \ + -re "s:/usr(/bin/.*sh):\1:g" \ + -e "s:(/bin/.*sh):${EPREFIX}\1:g" \ + -i $(find ${S} -type f) || die } src_compile() { export EXTRA_VIB cd "${WORKDIR}" - ncbi/make/makedis.csh || die + csh ncbi/make/makedis.csh || die mkdir "${S}"/cgi mkdir "${S}"/real mv "${S}"/bin/*.cgi "${S}"/cgi || die |