diff options
| author | Michael Lauer <mickey@vanille-media.de> | 2008-09-01 18:12:37 +0000 |
|---|---|---|
| committer | Michael Lauer <mickey@vanille-media.de> | 2008-09-01 18:12:37 +0000 |
| commit | 5e6a273f44ed3729a91e2e27d8fc5e6097012a5a (patch) | |
| tree | 22d07e0bf70f0326911af65f14159d566d853cd6 /packages/python/python-numpy_1.1.1.bb | |
| parent | 754959a5d8683ad7bb10b87e8042d9edcc3a53fe (diff) | |
| parent | a637f0c537b380165e61755028a26894b58e4f14 (diff) | |
merge of '5031449809d92a9131e43cf42ee07eaecb4fbeff'
and '61389ef93b16ad371a1a7c82bc60a4f061055b35'
Diffstat (limited to 'packages/python/python-numpy_1.1.1.bb')
| -rw-r--r-- | packages/python/python-numpy_1.1.1.bb | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/packages/python/python-numpy_1.1.1.bb b/packages/python/python-numpy_1.1.1.bb index e23c89e3cf..157dadadaf 100644 --- a/packages/python/python-numpy_1.1.1.bb +++ b/packages/python/python-numpy_1.1.1.bb @@ -6,13 +6,22 @@ PR = "ml0" SRC_URI = "${SOURCEFORGE_MIRROR}/numpy/numpy-${PV}.tar.gz \ file://unbreak-assumptions.diff;patch=1 \ - " + file://trycompile.diff;patch=1 \ + file://config.h \ + file://numpyconfig.h \ + " S = "${WORKDIR}/numpy-${PV}" inherit distutils -do_stage() { - cp -pPR Include/Num* ${STAGING_INCDIR} +# Make the build fail and replace *config.h with proper one +# This is a ugly, ugly hack - Koen +do_compile_prepend() { + BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \ + ${STAGING_BINDIR_NATIVE}/python setup.py build ${DISTUTILS_BUILD_ARGS} || \ + true + cp ${WORKDIR}/*config.h ${S}/build/$(ls ${S}/build | grep src)/numpy/core/include/numpy/ } + |
