summaryrefslogtreecommitdiff
path: root/science/py-obspy/files/patch-setup.py
diff options
context:
space:
mode:
authorWen Heping <wen@FreeBSD.org>2013-05-17 14:05:33 +0000
committerWen Heping <wen@FreeBSD.org>2013-05-17 14:05:33 +0000
commit35db20de4921ec01b0cacad3c32cc2fd44e61503 (patch)
tree95ae2c9d3e69b102903e1d63b7267b0d573e4096 /science/py-obspy/files/patch-setup.py
parent- Fix the error of last commit. (diff)
- Update to 0.8.3
Notes
Notes: svn path=/head/; revision=318389
Diffstat (limited to '')
-rw-r--r--science/py-obspy/files/patch-setup.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/science/py-obspy/files/patch-setup.py b/science/py-obspy/files/patch-setup.py
new file mode 100644
index 000000000000..62202600ddb5
--- /dev/null
+++ b/science/py-obspy/files/patch-setup.py
@@ -0,0 +1,13 @@
+--- setup.py.orig 2012-12-17 14:04:38.000000000 +0000
++++ setup.py 2013-05-16 15:35:53.000000000 +0000
+@@ -362,8 +362,8 @@
+ # otherwise we just use the original compile method
+ UnixCCompiler.linker_so = None
+ return self._original_compile(obj, src, *args, **kwargs)
+- UnixCCompiler.linker_so = ["gfortran"]
+- self.compiler_so = ["gfortran"]
++ UnixCCompiler.linker_so = ["FC"]
++ self.compiler_so = ["FC"]
+ cc_args = ['-c', '-fno-underscoring']
+ if sys.platform == 'darwin':
+ self.compiler_so = _darwin_compiler_fixup(self.compiler_so,