diff options
author | gahr <gahr@FreeBSD.org> | 2008-08-05 04:04:42 +0800 |
---|---|---|
committer | gahr <gahr@FreeBSD.org> | 2008-08-05 04:04:42 +0800 |
commit | 7173be6f0574c67f659720d3b2dbec1476d00d91 (patch) | |
tree | 0c50ff4bfe9c56fbb747eb57e4e4695b5a5f00a7 /math/rpy2 | |
parent | 3ae007f0cba3a9ac969dfd8266da0627ffa02432 (diff) | |
download | freebsd-ports-gnome-7173be6f0574c67f659720d3b2dbec1476d00d91.tar.gz freebsd-ports-gnome-7173be6f0574c67f659720d3b2dbec1476d00d91.tar.zst freebsd-ports-gnome-7173be6f0574c67f659720d3b2dbec1476d00d91.zip |
- Chase math/R upgrade
- Bump PORTREVISION
Reported by: pointyhat (via pav)
Approved by: Wen Heping <wenheping@gmail.com> (maintainer)
Diffstat (limited to 'math/rpy2')
-rw-r--r-- | math/rpy2/Makefile | 3 | ||||
-rw-r--r-- | math/rpy2/files/patch-setup.py | 13 | ||||
-rw-r--r-- | math/rpy2/pkg-plist | 2 |
3 files changed, 16 insertions, 2 deletions
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 |