mirror of
https://git.freebsd.org/ports.git
synced 2025-06-07 13:50:38 -04:00
Changes: https://bitbucket.org/rpy2/rpy2/src/default/NEWS https://github.com/rpy2/rpy2/blob/master/NEWS
11 lines
465 B
Python
11 lines
465 B
Python
--- rpy2/situation.py.orig 2019-09-27 19:59:40 UTC
|
|
+++ rpy2/situation.py
|
|
@@ -90,7 +90,7 @@ def r_home_from_registry() -> Optional[s
|
|
|
|
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')
|