summaryrefslogtreecommitdiff
path: root/math/py-CyLP/files/patch-setup.py
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2018-09-23 20:02:46 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2018-09-23 20:02:46 +0000
commitc37b1dce49d7500536c716e0738e87bd89f7599c (patch)
treea1b40e9718c137e7c59ab5ed2e94659a6bad43c1 /math/py-CyLP/files/patch-setup.py
parentUpdate to alpha-20180831 (diff)
New port: math/py-CyLP: Python interface to CLP, CBC, and CGL to solve LPs and MIPs
Diffstat (limited to 'math/py-CyLP/files/patch-setup.py')
-rw-r--r--math/py-CyLP/files/patch-setup.py11
1 files changed, 11 insertions, 0 deletions
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