aboutsummaryrefslogtreecommitdiff
path: root/math/rpy
diff options
context:
space:
mode:
authorWen Heping <wen@FreeBSD.org>2009-12-29 06:28:13 +0000
committerWen Heping <wen@FreeBSD.org>2009-12-29 06:28:13 +0000
commitb1b4f3e3f777004240d88a43719f665835113e05 (patch)
tree45da4b78bb90518120bbd00f88bdd2290f8d8e59 /math/rpy
parentbd7a5cc7590a860565d816333f707c71b5da790b (diff)
downloadports-b1b4f3e3f777004240d88a43719f665835113e05.tar.gz
ports-b1b4f3e3f777004240d88a43719f665835113e05.zip
- Fix the build error reported by pointyhat
Notes
Notes: svn path=/head/; revision=246831
Diffstat (limited to 'math/rpy')
-rw-r--r--math/rpy/Makefile2
-rw-r--r--math/rpy/files/patch-rpy_tools.py13
-rw-r--r--math/rpy/pkg-plist2
3 files changed, 15 insertions, 2 deletions
diff --git a/math/rpy/Makefile b/math/rpy/Makefile
index 984a17f0bd2b..99ff7a1ff9df 100644
--- a/math/rpy/Makefile
+++ b/math/rpy/Makefile
@@ -8,7 +8,7 @@
PORTNAME= rpy
PORTVERSION= 1.0.3
-PORTREVISION= 9
+PORTREVISION= 10
CATEGORIES= math
MASTER_SITES= SF
diff --git a/math/rpy/files/patch-rpy_tools.py b/math/rpy/files/patch-rpy_tools.py
new file mode 100644
index 000000000000..09f166003c77
--- /dev/null
+++ b/math/rpy/files/patch-rpy_tools.py
@@ -0,0 +1,13 @@
+--- rpy_tools.py.orig 2009-12-29 09:42:02.000000000 +0800
++++ rpy_tools.py 2009-12-29 09:42:41.000000000 +0800
+@@ -97,8 +97,8 @@
+ if stat or len(output)<=0:
+ raise RuntimeError("Couldn't execute the R interpreter" +
+ " `%s'.\n" % rexec )
+- # edd 05 Apr 2006 version = re.search("R +([0-9]\.[0-9]\.[0-9])", output)
+- version = re.search(" +([0-9]\.[0-9]\.[0-9])", output)
++ # edd 05 Apr 2006 version = re.search("R +([0-9]\.[0-9][0-9]\.[0-9])", output)
++ version = re.search(" +([0-9]\.[0-9][0-9]\.[0-9])", output)
+ if not version:
+ raise RuntimeError("Couldn't obtain version number from output\n"
+ "of `R --version'.\n")
diff --git a/math/rpy/pkg-plist b/math/rpy/pkg-plist
index a802f8160b4d..3417af8a92fe 100644
--- a/math/rpy/pkg-plist
+++ b/math/rpy/pkg-plist
@@ -1,4 +1,4 @@
-%%PYTHON_SITELIBDIR%%/_rpy2092.so
+%%PYTHON_SITELIBDIR%%/_rpy2101.so
%%PYTHON_SITELIBDIR%%/rpy.py
%%PYTHON_SITELIBDIR%%/rpy.pyc
%%PYTHON_SITELIBDIR%%/rpy.pyo