diff -urN py-rpy2.orig/files/patch-rpy_situation.py py-rpy2/files/patch-rpy_situation.py --- py-rpy2.orig/files/patch-rpy_situation.py 1970-01-01 01:00:00.000000000 +0100 +++ py-rpy2/files/patch-rpy_situation.py 2019-05-04 11:40:56.563738000 +0200 @@ -0,0 +1,11 @@ +--- rpy/situation.py.orig 2019-02-23 20:09:30 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 == 'Linux' or system == 'FreeBSD': + lib_path = os.path.join(r_home, 'lib', 'libR.so') + elif system == 'Darwin': + lib_path = os.path.join(r_home, 'lib', 'libR.dylib')