summaryrefslogtreecommitdiff
path: root/math
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
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')
-rw-r--r--math/rpy/Makefile3
-rw-r--r--math/rpy/files/patch-setup.py13
-rw-r--r--math/rpy/pkg-plist2
-rw-r--r--math/rpy2/Makefile3
-rw-r--r--math/rpy2/files/patch-setup.py13
-rw-r--r--math/rpy2/pkg-plist2
6 files changed, 32 insertions, 4 deletions
diff --git a/math/rpy/Makefile b/math/rpy/Makefile
index 8108e5b3a9c9..d636d955081a 100644
--- a/math/rpy/Makefile
+++ b/math/rpy/Makefile
@@ -8,7 +8,7 @@
PORTNAME= rpy
PORTVERSION= 1.0.3
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= math
MASTER_SITES= SF
@@ -27,5 +27,6 @@ BROKEN= Does not compile
post-patch:
@${REINPLACE_CMD} -e 's,^statichere ,,' ${WRKSRC}/src/rpymodule.c
+ @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/setup.py
.include <bsd.port.mk>
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"]
diff --git a/math/rpy/pkg-plist b/math/rpy/pkg-plist
index 343cdfb59144..2654e251a09b 100644
--- a/math/rpy/pkg-plist
+++ b/math/rpy/pkg-plist
@@ -1,4 +1,4 @@
-%%PYTHON_SITELIBDIR%%/_rpy2061.so
+%%PYTHON_SITELIBDIR%%/_rpy2071.so
%%PYTHON_SITELIBDIR%%/rpy.py
%%PYTHON_SITELIBDIR%%/rpy.pyc
%%PYTHON_SITELIBDIR%%/rpy.pyo
diff --git a/math/rpy2/Makefile b/math/rpy2/Makefile
index 8108e5b3a9c9..d636d955081a 100644
--- a/math/rpy2/Makefile
+++ b/math/rpy2/Makefile
@@ -8,7 +8,7 @@
PORTNAME= rpy
PORTVERSION= 1.0.3
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= math
MASTER_SITES= SF
@@ -27,5 +27,6 @@ BROKEN= Does not compile
post-patch:
@${REINPLACE_CMD} -e 's,^statichere ,,' ${WRKSRC}/src/rpymodule.c
+ @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/setup.py
.include <bsd.port.mk>
diff --git a/math/rpy2/files/patch-setup.py b/math/rpy2/files/patch-setup.py
new file mode 100644
index 000000000000..6cc97c1af08f
--- /dev/null
+++ b/math/rpy2/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"]
diff --git a/math/rpy2/pkg-plist b/math/rpy2/pkg-plist
index 343cdfb59144..2654e251a09b 100644
--- a/math/rpy2/pkg-plist
+++ b/math/rpy2/pkg-plist
@@ -1,4 +1,4 @@
-%%PYTHON_SITELIBDIR%%/_rpy2061.so
+%%PYTHON_SITELIBDIR%%/_rpy2071.so
%%PYTHON_SITELIBDIR%%/rpy.py
%%PYTHON_SITELIBDIR%%/rpy.pyc
%%PYTHON_SITELIBDIR%%/rpy.pyo