summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2013-02-17 11:10:27 +0000
committerJustin Lecher <jlec@gentoo.org>2013-02-17 11:10:27 +0000
commit15074117ab61be4a66dcfdc5fb540b8d1abf7e09 (patch)
tree78016b478bac08462ea597720df652e808cf6fc1 /sci-biology/sibsim4
parentRemove old (diff)
downloadgentoo-2-15074117ab61be4a66dcfdc5fb540b8d1abf7e09.tar.gz
gentoo-2-15074117ab61be4a66dcfdc5fb540b8d1abf7e09.tar.bz2
gentoo-2-15074117ab61be4a66dcfdc5fb540b8d1abf7e09.zip
sci-biology/sibsim4: Respect CC, CFLAGS and LDFLAGS, #328431
(Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key 8009D6F070EB7916)
Diffstat (limited to 'sci-biology/sibsim4')
-rw-r--r--sci-biology/sibsim4/ChangeLog8
-rw-r--r--sci-biology/sibsim4/metadata.xml10
-rw-r--r--sci-biology/sibsim4/sibsim4-0.20.ebuild16
3 files changed, 23 insertions, 11 deletions
diff --git a/sci-biology/sibsim4/ChangeLog b/sci-biology/sibsim4/ChangeLog
index 82398f1f5bc2..30e8a2e7d78c 100644
--- a/sci-biology/sibsim4/ChangeLog
+++ b/sci-biology/sibsim4/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-biology/sibsim4
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/sibsim4/ChangeLog,v 1.4 2010/07/16 09:31:29 fauli Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/sibsim4/ChangeLog,v 1.5 2013/02/17 11:10:27 jlec Exp $
+
+ 17 Feb 2013; Justin Lecher <jlec@gentoo.org> sibsim4-0.20.ebuild,
+ metadata.xml:
+ Respect CC, CFLAGS and LDFLAGS, #328431
16 Jul 2010; Christian Faulhammer <fauli@gentoo.org> sibsim4-0.20.ebuild:
stable x86, bug 328431
diff --git a/sci-biology/sibsim4/metadata.xml b/sci-biology/sibsim4/metadata.xml
index 3302123e5718..fc7c76942a10 100644
--- a/sci-biology/sibsim4/metadata.xml
+++ b/sci-biology/sibsim4/metadata.xml
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer>
- <email>weaver@gentoo.org</email>
- <name>Andrey Kislyuk</name>
- </maintainer>
- <herd>sci-biology</herd>
+ <maintainer>
+ <email>weaver@gentoo.org</email>
+ <name>Andrey Kislyuk</name>
+ </maintainer>
+ <herd>sci-biology</herd>
</pkgmetadata>
diff --git a/sci-biology/sibsim4/sibsim4-0.20.ebuild b/sci-biology/sibsim4/sibsim4-0.20.ebuild
index c1bf1d68b4bd..b8d42bf631d5 100644
--- a/sci-biology/sibsim4/sibsim4-0.20.ebuild
+++ b/sci-biology/sibsim4/sibsim4-0.20.ebuild
@@ -1,8 +1,10 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/sibsim4/sibsim4-0.20.ebuild,v 1.2 2010/07/16 09:31:29 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/sibsim4/sibsim4-0.20.ebuild,v 1.3 2013/02/17 11:10:27 jlec Exp $
-EAPI="2"
+EAPI=5
+
+inherit toolchain-funcs
DESCRIPTION="A rewrite and improvement upon sim4, a DNA-mRNA aligner"
HOMEPAGE="http://sibsim4.sourceforge.net/"
@@ -19,7 +21,13 @@ RDEPEND=""
S="${WORKDIR}/SIBsim4-${PV}"
src_prepare() {
- sed -i 's/CFLAGS = \(.*\)/CFLAGS := \1 ${CFLAGS}/' "${S}/Makefile"
+ sed \
+ -e 's/CFLAGS = /CFLAGS +=/' \
+ -e '/^CC/s:=:?=:' \
+ -e '/^OPT/d' \
+ -e "s:-o:${LDFLAGS} -o:g" \
+ -i "${S}/Makefile" || die
+ tc-export CC
}
src_install() {