summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/cbflib/files/0.9.0-python.patch')
-rw-r--r--sci-libs/cbflib/files/0.9.0-python.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/sci-libs/cbflib/files/0.9.0-python.patch b/sci-libs/cbflib/files/0.9.0-python.patch
new file mode 100644
index 000000000000..b18d019ff8e2
--- /dev/null
+++ b/sci-libs/cbflib/files/0.9.0-python.patch
@@ -0,0 +1,16 @@
+diff --git a/pycbf/setup.py b/pycbf/setup.py
+index 0763f06..7fe9ccc 100644
+--- a/pycbf/setup.py
++++ b/pycbf/setup.py
+@@ -9,9 +9,9 @@ from distutils.core import setup, Extension
+ e = Extension('_pycbf',
+ sources = ["pycbf_wrap.c","../src/cbf_simple.c"],
+ extra_compile_args=["-g"],
+- library_dirs=["../lib/"],
++ library_dirs=["../solib/"],
+ libraries=["cbf"],
+ include_dirs = ["../include"] )
+
+ # Build it
+-setup(name="_pycbf",ext_modules=[e],)
++setup(name="_pycbf",ext_modules=[e],py_modules=["pycbf"],)