SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
16
math/py-numpy/patches/patch-numpy_core_setup_common_py
Normal file
16
math/py-numpy/patches/patch-numpy_core_setup_common_py
Normal file
|
@ -0,0 +1,16 @@
|
|||
disable backtrace for now. maybe possible to enable now that we have
|
||||
libexecinfo in base, but needs checking to make sure we don't end up
|
||||
with unresolved symbols.
|
||||
|
||||
Index: numpy/core/setup_common.py
|
||||
--- numpy/core/setup_common.py.orig
|
||||
+++ numpy/core/setup_common.py
|
||||
@@ -137,7 +137,7 @@ MANDATORY_FUNCS = [
|
||||
|
||||
OPTIONAL_LOCALE_FUNCS = ["strtold_l"]
|
||||
OPTIONAL_FILE_FUNCS = ["ftello", "fseeko", "fallocate"]
|
||||
-OPTIONAL_MISC_FUNCS = ["backtrace", "madvise"]
|
||||
+OPTIONAL_MISC_FUNCS = ["madvise"]
|
||||
|
||||
# variable attributes tested via "int %s a" % attribute
|
||||
OPTIONAL_VARIABLE_ATTRIBUTES = ["__thread", "__declspec(thread)"]
|
|
@ -0,0 +1,14 @@
|
|||
fix build of other packages (e.g. py-scipy) in some cases (e.g. when
|
||||
WRKOBJDIR has a trailing slash)
|
||||
|
||||
Index: numpy/distutils/command/build_src.py
|
||||
--- numpy/distutils/command/build_src.py.orig
|
||||
+++ numpy/distutils/command/build_src.py
|
||||
@@ -366,6 +366,7 @@ class build_src(build_ext.build_ext):
|
||||
# incl_dirs.append(self.build_src)
|
||||
build_dir = os.path.join(*([self.build_src]
|
||||
+name.split('.')[:-1]))
|
||||
+ build_dir = os.path.normpath(build_dir)
|
||||
self.mkpath(build_dir)
|
||||
|
||||
if self.verbose_cfg:
|
39
math/py-numpy/patches/patch-numpy_distutils_site_cfg
Normal file
39
math/py-numpy/patches/patch-numpy_distutils_site_cfg
Normal file
|
@ -0,0 +1,39 @@
|
|||
--- numpy/distutils/site.cfg.orig Fri Feb 13 15:41:03 2009
|
||||
+++ numpy/distutils/site.cfg Fri Feb 13 15:41:47 2009
|
||||
@@ -0,0 +1,36 @@
|
||||
+[x11]
|
||||
+library_dirs = /usr/X11R6/lib
|
||||
+include_dirs = /usr/X11R6/include
|
||||
+
|
||||
+# Hack to stop numpy linking against random installed libraries
|
||||
+
|
||||
+[mkl]
|
||||
+mkl_libs = XXXnonexistXXX
|
||||
+
|
||||
+[blas_mkl]
|
||||
+blas_mkl_libs = XXXnonexistXXX
|
||||
+
|
||||
+[lapack_mkl]
|
||||
+lapack_mkl_libs = XXXnonexistXXX
|
||||
+
|
||||
+[fftw]
|
||||
+fftw_libs = XXXnonexistXXX
|
||||
+
|
||||
+[lapack_atlas]
|
||||
+lapack_atlas_libs = XXXnonexistXXX
|
||||
+
|
||||
+[atlas]
|
||||
+atlas_libs = XXXnonexistXXX
|
||||
+
|
||||
+[atlas_threads]
|
||||
+atlas_threads_libs = XXXnonexistXXX
|
||||
+
|
||||
+[atlas_blas]
|
||||
+atlas_blas_libs = XXXnonexistXXX
|
||||
+
|
||||
+[atlas_blas_threads]
|
||||
+atlas_blas_threads_libs = XXXnonexistXXX
|
||||
+
|
||||
+[djbfft]
|
||||
+djbfft_libs = XXXnonexistXXX
|
||||
+
|
Loading…
Add table
Add a link
Reference in a new issue