summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2008-12-11 23:43:53 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2008-12-11 23:43:53 +0000
commit15846c41b8e3ccc84a105649523c9e421c1f32b2 (patch)
tree8998397bc0e18d5813b0a81e0067fa678ef7d713 /sci-libs
parentAdd ipod useflag. Thanks to Artur Maciag in bug 249189 for the patch. (diff)
downloadgentoo-2-15846c41b8e3ccc84a105649523c9e421c1f32b2.tar.gz
gentoo-2-15846c41b8e3ccc84a105649523c9e421c1f32b2.tar.bz2
gentoo-2-15846c41b8e3ccc84a105649523c9e421c1f32b2.zip
Moved pic flag to src_compile
(Portage version: 2.2_rc17/cvs/Linux 2.6.25-gentoo-r7 x86_64)
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/scipy/ChangeLog6
-rw-r--r--sci-libs/scipy/scipy-0.6.0-r5.ebuild7
-rw-r--r--sci-libs/scipy/scipy-0.7.0_beta1.ebuild7
3 files changed, 11 insertions, 9 deletions
diff --git a/sci-libs/scipy/ChangeLog b/sci-libs/scipy/ChangeLog
index 65aa0eee52d7..94ff745f1fc3 100644
--- a/sci-libs/scipy/ChangeLog
+++ b/sci-libs/scipy/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-libs/scipy
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/scipy/ChangeLog,v 1.36 2008/12/05 11:38:02 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/scipy/ChangeLog,v 1.37 2008/12/11 23:43:53 bicatali Exp $
+
+ 11 Dec 2008; Sébastien Fabbro <bicatali@gentoo.org>
+ scipy-0.6.0-r5.ebuild, scipy-0.7.0_beta1.ebuild:
+ Moved pic flag to src_compile
*scipy-0.7.0_beta1 (05 Dec 2008)
*scipy-0.6.0-r5 (05 Dec 2008)
diff --git a/sci-libs/scipy/scipy-0.6.0-r5.ebuild b/sci-libs/scipy/scipy-0.6.0-r5.ebuild
index a765bf24e4b8..6de06a7dca78 100644
--- a/sci-libs/scipy/scipy-0.6.0-r5.ebuild
+++ b/sci-libs/scipy/scipy-0.6.0-r5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/scipy/scipy-0.6.0-r5.ebuild,v 1.1 2008/12/05 11:38:02 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/scipy/scipy-0.6.0-r5.ebuild,v 1.2 2008/12/11 23:43:53 bicatali Exp $
EAPI=1
NEED_PYTHON=2.3
@@ -57,9 +57,6 @@ scipy_fortran_setup() {
*) eerror "Unknown fortran compiler: ${FORTRANC}"
die "scipy_fortran_setup failed" ;;
esac
-
- # when fortran flags are set, pic is removed.
- use amd64 && [[ -n ${FFLAGS} ]] && FFLAGS="${FFLAGS} -fPIC"
export SCIPY_FCONFIG="config_fc --fcompiler=${fc} --noopt --noarch"
}
@@ -128,6 +125,8 @@ src_unpack() {
}
src_compile() {
+ # when fortran flags are set, pic is removed.
+ use amd64 && [[ -n ${FFLAGS} ]] && FFLAGS="${FFLAGS} -fPIC"
distutils_src_compile ${SCIPY_FCONFIG}
}
diff --git a/sci-libs/scipy/scipy-0.7.0_beta1.ebuild b/sci-libs/scipy/scipy-0.7.0_beta1.ebuild
index 39a912f7425e..b6f7c8c9694f 100644
--- a/sci-libs/scipy/scipy-0.7.0_beta1.ebuild
+++ b/sci-libs/scipy/scipy-0.7.0_beta1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/scipy/scipy-0.7.0_beta1.ebuild,v 1.1 2008/12/05 11:38:02 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/scipy/scipy-0.7.0_beta1.ebuild,v 1.2 2008/12/11 23:43:53 bicatali Exp $
EAPI=1
NEED_PYTHON=2.4
@@ -55,9 +55,6 @@ scipy_fortran_setup() {
*) eerror "Unknown fortran compiler: ${FORTRANC}"
die "scipy_fortran_setup failed" ;;
esac
-
- # when fortran flags are set, pic is removed.
- use amd64 && [[ -n ${FFLAGS} ]] && FFLAGS="${FFLAGS} -fPIC"
export SCIPY_FCONFIG="config_fc --fcompiler=${fc} --noopt --noarch"
}
@@ -111,6 +108,8 @@ src_unpack() {
}
src_compile() {
+ # when fortran flags are set, pic is removed.
+ use amd64 && [[ -n ${FFLAGS} ]] && FFLAGS="${FFLAGS} -fPIC"
distutils_src_compile ${SCIPY_FCONFIG}
}