From c37b1dce49d7500536c716e0738e87bd89f7599c Mon Sep 17 00:00:00 2001 From: Yuri Victorovich Date: Sun, 23 Sep 2018 20:02:46 +0000 Subject: New port: math/py-CyLP: Python interface to CLP, CBC, and CGL to solve LPs and MIPs --- math/py-CyLP/files/patch-setup.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 math/py-CyLP/files/patch-setup.py (limited to 'math/py-CyLP/files/patch-setup.py') diff --git a/math/py-CyLP/files/patch-setup.py b/math/py-CyLP/files/patch-setup.py new file mode 100644 index 000000000000..f2607cf7e063 --- /dev/null +++ b/math/py-CyLP/files/patch-setup.py @@ -0,0 +1,11 @@ +--- setup.py.orig 2014-02-14 17:25:06 UTC ++++ setup.py +@@ -108,7 +108,7 @@ ext_modules = [] + + if operatingSystem == 'mac': + extra_link_args = ['-Wl,-framework', '-Wl,Accelerate', '-headerpad_max_install_names'] +-elif operatingSystem == 'linux': ++elif operatingSystem == 'linux' or operatingSystem.startswith('freebsd'): + extra_link_args = ['-lrt'] + else: + # Assuming Windows -- cgit v1.2.3