diff options
author | Donnie Berkholz <dberkholz@gentoo.org> | 2006-09-24 01:03:17 +0000 |
---|---|---|
committer | Donnie Berkholz <dberkholz@gentoo.org> | 2006-09-24 01:03:17 +0000 |
commit | 9f3fcfde4d67fa26f919822955b095626feb91e3 (patch) | |
tree | 2b325c114f53d4a09e62d7a62ef601f73495b833 /dev-python/numpy/numpy-0.9.8.ebuild | |
parent | qa fix - missing USE flag (diff) | |
download | historical-9f3fcfde4d67fa26f919822955b095626feb91e3.tar.gz historical-9f3fcfde4d67fa26f919822955b095626feb91e3.tar.bz2 historical-9f3fcfde4d67fa26f919822955b095626feb91e3.zip |
The LDFLAGS situation is worse than I thought. Setting LDFLAGS at all entirely overrides the linker flags within the build and breaks it. See comp.lang.python thread 'Building things with setup.py' from 21 Sept. 2006.
Package-Manager: portage-2.1.2_pre1
Diffstat (limited to 'dev-python/numpy/numpy-0.9.8.ebuild')
-rw-r--r-- | dev-python/numpy/numpy-0.9.8.ebuild | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/dev-python/numpy/numpy-0.9.8.ebuild b/dev-python/numpy/numpy-0.9.8.ebuild index a288160d2c62..09d4a7a7ea3e 100644 --- a/dev-python/numpy/numpy-0.9.8.ebuild +++ b/dev-python/numpy/numpy-0.9.8.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/numpy/numpy-0.9.8.ebuild,v 1.4 2006/09/21 18:49:12 dberkholz Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/numpy/numpy-0.9.8.ebuild,v 1.5 2006/09/24 01:03:17 dberkholz Exp $ -inherit distutils flag-o-matic +inherit distutils DESCRIPTION="Multi-dimensional array object and processing for Python." SRC_URI="mirror://sourceforge/numpy/${P}.tar.gz" @@ -25,10 +25,6 @@ src_unpack() { -e "s:f77blas:blas:g" \ numpy/distutils/system_info.py - # -Wl,-O1 breaks the compilation - filter-ldflags -O1 - filter-ldflags -Wl,-O1 - if use lapack; then echo "[atlas]" > site.cfg echo "include_dirs = /usr/include/atlas" >> site.cfg @@ -44,6 +40,14 @@ src_unpack() { fi } +src_compile() { + # http://projects.scipy.org/scipy/numpy/ticket/182 + # Can't set LDFLAGS + unset LDFLAGS + + distutils_src_compile +} + # The test only works after install # To be worked out. #src_test() { |