SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
19
graphics/py-matplotlib/patches/patch-setupext_py
Normal file
19
graphics/py-matplotlib/patches/patch-setupext_py
Normal file
|
@ -0,0 +1,19 @@
|
|||
Index: setupext.py
|
||||
--- setupext.py.orig
|
||||
+++ setupext.py
|
||||
@@ -435,6 +435,7 @@ class Matplotlib(SetupPackage):
|
||||
ext = Extension(
|
||||
"matplotlib._qhull", ["src/_qhull_wrapper.cpp"],
|
||||
define_macros=[("MPL_DEVNULL", os.devnull)])
|
||||
+ ext.include_dirs.extend(['${PREFIX}/include'])
|
||||
add_numpy_flags(ext)
|
||||
Qhull.add_flags(ext)
|
||||
yield ext
|
||||
@@ -448,6 +449,7 @@ class Matplotlib(SetupPackage):
|
||||
libraries={"linux": ["dl"], "win32": ["comctl32", "psapi"],
|
||||
"cygwin": ["comctl32", "psapi"]}.get(sys.platform, []),
|
||||
extra_link_args={"win32": ["-mwindows"]}.get(sys.platform, []))
|
||||
+ ext.include_dirs.extend(['${X11BASE}/include'])
|
||||
add_numpy_flags(ext)
|
||||
add_libagg_flags(ext)
|
||||
yield ext
|
Loading…
Add table
Add a link
Reference in a new issue