summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2011-12-03 10:58:16 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2011-12-03 10:58:16 +0000
commit2f640ed84c6d673a6cf053b31cd7e3bece492d2f (patch)
treefb58802fd5360c01397cc92420267fc03611d5ff /sci-biology
parentdrop mktemp dependency. Add libpaper dependency. Stable on amd64. Bug #391501 (diff)
downloadgentoo-2-2f640ed84c6d673a6cf053b31cd7e3bece492d2f.tar.gz
gentoo-2-2f640ed84c6d673a6cf053b31cd7e3bece492d2f.tar.bz2
gentoo-2-2f640ed84c6d673a6cf053b31cd7e3bece492d2f.zip
convert test statement to if;fi block because || die does not work on a subshell
(Portage version: 2.2.0_alpha79/cvs/Linux x86_64)
Diffstat (limited to 'sci-biology')
-rw-r--r--sci-biology/primer3/ChangeLog6
-rw-r--r--sci-biology/primer3/primer3-2.2.3.ebuild5
2 files changed, 8 insertions, 3 deletions
diff --git a/sci-biology/primer3/ChangeLog b/sci-biology/primer3/ChangeLog
index 2b62d5036391..5b9a2dab0ce0 100644
--- a/sci-biology/primer3/ChangeLog
+++ b/sci-biology/primer3/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-biology/primer3
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/primer3/ChangeLog,v 1.28 2011/12/02 22:12:55 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/primer3/ChangeLog,v 1.29 2011/12/03 10:58:16 hwoarang Exp $
+
+ 03 Dec 2011; Markos Chandras <hwoarang@gentoo.org> primer3-2.2.3.ebuild:
+ convert test statement to if;fi block because || die does not work on a
+ subshell
02 Dec 2011; Markos Chandras <hwoarang@gentoo.org> primer3-2.2.3.ebuild:
add missing sed. stable on amd64. bug #391531
diff --git a/sci-biology/primer3/primer3-2.2.3.ebuild b/sci-biology/primer3/primer3-2.2.3.ebuild
index 057fd4fa2525..e11dfd6c6bb2 100644
--- a/sci-biology/primer3/primer3-2.2.3.ebuild
+++ b/sci-biology/primer3/primer3-2.2.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/primer3/primer3-2.2.3.ebuild,v 1.4 2011/12/02 22:12:55 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/primer3/primer3-2.2.3.ebuild,v 1.5 2011/12/03 10:58:16 hwoarang Exp $
EAPI="3"
@@ -19,8 +19,9 @@ DEPEND="dev-lang/perl"
RDEPEND=""
src_prepare() {
- [[ ${CHOST} == *-darwin* ]] && \
+ if [[ ${CHOST} == *-darwin* ]]; then
sed -e "s:LIBOPTS ='-static':LIBOPTS =:" -i Makefile || die
+ fi
perl -i -ne 's/\$\(CPP\)/'$(tc-getCXX)'/; print unless /^(CC|CPP|CFLAGS|LDFLAGS)\s*=/' src/Makefile || die
sed \
-e '/oligotm/s:-o $@:$(LDFLAGS) -o $@:g' \