summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Kislyuk <weaver@gentoo.org>2011-02-04 18:42:45 +0000
committerAndrey Kislyuk <weaver@gentoo.org>2011-02-04 18:42:45 +0000
commit7b4342ba4e677885402b74d9e9f59a7cd37de245 (patch)
treec7bfade289c2c6bc59fffca3d966f1d0f9929f7d
parentBackport upstream patch for strncmp usage bug by request from Arfrever Frehte... (diff)
downloadgentoo-2-7b4342ba4e677885402b74d9e9f59a7cd37de245.tar.gz
gentoo-2-7b4342ba4e677885402b74d9e9f59a7cd37de245.tar.bz2
gentoo-2-7b4342ba4e677885402b74d9e9f59a7cd37de245.zip
Respect LDFLAGS
(Portage version: 2.2_rc86/cvs/Linux x86_64)
-rw-r--r--sci-biology/augustus/ChangeLog6
-rw-r--r--sci-biology/augustus/augustus-2.4.ebuild6
-rw-r--r--sci-biology/augustus/augustus-2.5.ebuild6
3 files changed, 14 insertions, 4 deletions
diff --git a/sci-biology/augustus/ChangeLog b/sci-biology/augustus/ChangeLog
index ba50910a1eba..f7a0da1a341a 100644
--- a/sci-biology/augustus/ChangeLog
+++ b/sci-biology/augustus/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-biology/augustus
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/augustus/ChangeLog,v 1.11 2011/02/03 01:01:41 weaver Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/augustus/ChangeLog,v 1.12 2011/02/04 18:42:45 weaver Exp $
+
+ 04 Feb 2011; Andrey Kislyuk <weaver@gentoo.org> augustus-2.4.ebuild,
+ augustus-2.5.ebuild:
+ Respect LDFLAGS
*augustus-2.5 (03 Feb 2011)
diff --git a/sci-biology/augustus/augustus-2.4.ebuild b/sci-biology/augustus/augustus-2.4.ebuild
index 501d026fca86..770260ffe8cd 100644
--- a/sci-biology/augustus/augustus-2.4.ebuild
+++ b/sci-biology/augustus/augustus-2.4.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/augustus/augustus-2.4.ebuild,v 1.2 2011/02/03 01:01:41 weaver Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/augustus/augustus-2.4.ebuild,v 1.3 2011/02/04 18:42:45 weaver Exp $
EAPI="2"
@@ -18,7 +18,9 @@ KEYWORDS="~amd64 ~x86"
DEPEND=""
RDEPEND=""
-#S="${WORKDIR}/${PN}"
+src_prepare() {
+ sed -i 's/${CFLAGS}/${CFLAGS} ${LDFLAGS}/' src/Makefile || die
+}
src_compile() {
emake -C src clean || die
diff --git a/sci-biology/augustus/augustus-2.5.ebuild b/sci-biology/augustus/augustus-2.5.ebuild
index 08070dcc0075..a022a21cbb42 100644
--- a/sci-biology/augustus/augustus-2.5.ebuild
+++ b/sci-biology/augustus/augustus-2.5.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/augustus/augustus-2.5.ebuild,v 1.2 2011/02/03 02:09:52 weaver Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/augustus/augustus-2.5.ebuild,v 1.3 2011/02/04 18:42:45 weaver Exp $
EAPI="2"
@@ -20,6 +20,10 @@ RDEPEND=""
S="${WORKDIR}/${PN}.${PV}"
+src_prepare() {
+ sed -i 's/${CFLAGS}/${CFLAGS} ${LDFLAGS}/' src/Makefile || die
+}
+
src_compile() {
emake -C src clean || die
emake -C src || die