summaryrefslogtreecommitdiff
path: root/math/rpy/files/patch-setup.py
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2008-08-04 20:04:42 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2008-08-04 20:04:42 +0000
commite5f228be0efde4992c65dfa3530dcbe05824b6c7 (patch)
tree0c1afd63eb67cebbf885382bfdf34f4517fce291 /math/rpy/files/patch-setup.py
parentKeep share/pixmaps in pkg lists. (diff)
- Chase math/R upgrade
- Bump PORTREVISION Reported by: pointyhat (via pav) Approved by: Wen Heping <wenheping@gmail.com> (maintainer)
Notes
Notes: svn path=/head/; revision=218039
Diffstat (limited to 'math/rpy/files/patch-setup.py')
-rw-r--r--math/rpy/files/patch-setup.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/math/rpy/files/patch-setup.py b/math/rpy/files/patch-setup.py
new file mode 100644
index 000000000000..6cc97c1af08f
--- /dev/null
+++ b/math/rpy/files/patch-setup.py
@@ -0,0 +1,13 @@
+--- setup.py.orig 2008-07-29 22:53:21.000000000 +0200
++++ setup.py 2008-07-29 22:54:04.000000000 +0200
+@@ -159,8 +159,8 @@
+ source_files = source_files + ["src/setenv.c"]
+ else: # unix-like systems, this is known to work for Linux and Solaris
+ include_dirs = [ os.path.join(RHOME.strip(), 'include'),
+- 'src', '/usr/share/R/include' ]
+- libraries=['R','Rlapack']
++ 'src', '%%LOCALBASE%%/lib/R/include' ]
++ libraries=['R','R']
+ library_dirs = r_libs
+ runtime_libs = r_libs
+ extra_compile_args=["-shared"]