summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKacper Kowalik <xarthisius@gentoo.org>2011-01-23 11:50:58 +0000
committerKacper Kowalik <xarthisius@gentoo.org>2011-01-23 11:50:58 +0000
commitbd6d373db6797b51c0891b49c1eafba8afea5b94 (patch)
tree3e809395c39de2b07475ca76eab17c15c7b438ab /sci-libs/scipy
parentppc64 stable wrt #343473 (diff)
downloadgentoo-2-bd6d373db6797b51c0891b49c1eafba8afea5b94.tar.gz
gentoo-2-bd6d373db6797b51c0891b49c1eafba8afea5b94.tar.bz2
gentoo-2-bd6d373db6797b51c0891b49c1eafba8afea5b94.zip
Append -fPIC to FFLAGS properly. Fixes bug #352487. Thanks hirakendu <hirakendu@gmail.com> for the report.
(Portage version: 2.2.0_alpha19/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs/scipy')
-rw-r--r--sci-libs/scipy/ChangeLog6
-rw-r--r--sci-libs/scipy/scipy-0.8.0.ebuild4
2 files changed, 7 insertions, 3 deletions
diff --git a/sci-libs/scipy/ChangeLog b/sci-libs/scipy/ChangeLog
index 3f05128ad501..76efd7b0c2bc 100644
--- a/sci-libs/scipy/ChangeLog
+++ b/sci-libs/scipy/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-libs/scipy
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/scipy/ChangeLog,v 1.62 2011/01/16 15:31:31 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/scipy/ChangeLog,v 1.63 2011/01/23 11:50:58 xarthisius Exp $
+
+ 23 Jan 2011; Kacper Kowalik <xarthisius@gentoo.org> scipy-0.8.0.ebuild:
+ Append -fPIC to FFLAGS properly. Fixes bug #352487. Thanks hirakendu
+ <hirakendu@gmail.com> for the report.
16 Jan 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
-files/scipy-0.7.0_beta1-implicit.patch, -files/scipy-0.7.1-weave.patch,
diff --git a/sci-libs/scipy/scipy-0.8.0.ebuild b/sci-libs/scipy/scipy-0.8.0.ebuild
index 563de403a78f..181f58a03eb4 100644
--- a/sci-libs/scipy/scipy-0.8.0.ebuild
+++ b/sci-libs/scipy/scipy-0.8.0.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-libs/scipy/scipy-0.8.0.ebuild,v 1.5 2011/01/16 09:25:31 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/scipy/scipy-0.8.0.ebuild,v 1.6 2011/01/23 11:50:58 xarthisius Exp $
EAPI="2"
PYTHON_DEPEND="2"
@@ -58,6 +58,7 @@ pkg_setup() {
[[ -z ${F77} ]] && export F77="$(tc-getFC)"
export F90="${FC}"
export SCIPY_FCONFIG="config_fc --noopt --noarch"
+ append-fflags -fPIC
}
src_unpack() {
@@ -100,7 +101,6 @@ src_prepare() {
}
src_compile() {
- [[ -n ${FFLAGS} ]] && FFLAGS="${FFLAGS} -fPIC"
distutils_src_compile ${SCIPY_FCONFIG}
}