summaryrefslogtreecommitdiff
path: root/lang/python38/files/patch-setup.py
diff options
context:
space:
mode:
authorStefan Krah <skrah@bytereef.org>2021-05-16 23:19:42 +0800
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-05-16 23:24:46 +0800
commit09397e741e930c1354b9feb73b80027268ab4a0f (patch)
treece3617bb68064e988518a3e76b8d93540934d808 /lang/python38/files/patch-setup.py
parentwww/rubygem-kubeclient: Change RUN_DEPENDS from rubygem-http to rubygem-http4 (diff)
lang/python38: Use libmpdec from ports
- Bump PORTREVISION for dependency and package change PR: 253603
Diffstat (limited to 'lang/python38/files/patch-setup.py')
-rw-r--r--lang/python38/files/patch-setup.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/python38/files/patch-setup.py b/lang/python38/files/patch-setup.py
new file mode 100644
index 000000000000..7bd5deb4202a
--- /dev/null
+++ b/lang/python38/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig 2021-05-03 09:47:56 UTC
++++ setup.py
+@@ -2051,7 +2051,7 @@ class PyBuildExt(build_ext):
+ undef_macros = []
+ if '--with-system-libmpdec' in sysconfig.get_config_var("CONFIG_ARGS"):
+ include_dirs = []
+- libraries = [':libmpdec.so.2']
++ libraries = ['mpdec']
+ sources = ['_decimal/_decimal.c']
+ depends = ['_decimal/docstrings.h']
+ else: