summaryrefslogtreecommitdiff
path: root/lang/python37/files/patch-setup.py
diff options
context:
space:
mode:
authorStefan Krah <skrah@bytereef.org>2021-05-12 05:40:44 +0800
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-05-12 05:47:33 +0800
commit00d92d8c3d0640d1c1850e508c38f907bd1a3b92 (patch)
tree06686b7f7534b6c671a998715a2307864ed160e5 /lang/python37/files/patch-setup.py
parentdevel/readline: Update documentation for inputrc path (diff)
lang/python37: Use libmpdec from ports
- Bump PORTREVISION for dependency and package change PR: 253601
Diffstat (limited to 'lang/python37/files/patch-setup.py')
-rw-r--r--lang/python37/files/patch-setup.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/python37/files/patch-setup.py b/lang/python37/files/patch-setup.py
new file mode 100644
index 000000000000..1121e27d82e3
--- /dev/null
+++ b/lang/python37/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig 2021-02-17 21:21:03 UTC
++++ setup.py
+@@ -2057,7 +2057,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: