Index: head/math/py-rpy2/Makefile =================================================================== --- head/math/py-rpy2/Makefile (revision 501732) +++ head/math/py-rpy2/Makefile (revision 501733) @@ -1,34 +1,35 @@ # Created by: ijliao # $FreeBSD$ PORTNAME= rpy2 DISTVERSION= 3.0.3 +PORTREVISION= 1 CATEGORIES= math MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Python interface to the R Programming Language LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/gpl-2.0.txt BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.0.0:devel/py-cffi@${PY_FLAVOR} LIB_DEPENDS= libR.so:math/R \ libicui18n.so:devel/icu \ libomp.so:devel/openmp \ libpcre.so:devel/pcre RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.0.0:devel/py-cffi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \ ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}simplegeneric>=0:devel/py-simplegeneric@${PY_FLAVOR} USES= fortran python:3.5+ readline USE_PYTHON= autoplist distutils NO_ARCH= yes pre-build: cd ${WRKSRC}/ && ${PYTHON_CMD} rpy/_rinterface_cffi_build.py .include Index: head/math/py-rpy2/files/patch-rpy-situation.py =================================================================== --- head/math/py-rpy2/files/patch-rpy-situation.py (nonexistent) +++ head/math/py-rpy2/files/patch-rpy-situation.py (revision 501733) @@ -0,0 +1,11 @@ +--- rpy/situation.py.orig 2019-05-05 16:29:19 UTC ++++ rpy/situation.py +@@ -63,7 +63,7 @@ def r_home_from_registry(): + + def get_rlib_path(r_home: str, system: str) -> str: + """Get the path for the R shared library.""" +- if system == 'Linux': ++ if system == 'FreeBSD' or system == 'Linux': + lib_path = os.path.join(r_home, 'lib', 'libR.so') + elif system == 'Darwin': + lib_path = os.path.join(r_home, 'lib', 'libR.dylib') Property changes on: head/math/py-rpy2/files/patch-rpy-situation.py ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property