freebsd-ports/audio/py-pysndfile/files/patch-setup.py
Yuri Victorovich e880c2801f audio/py-pysndfile: update 1.4.6 → 1.4.7
Reported by:	portscout
2025-01-07 01:29:09 -08:00

11 lines
620 B
Python

--- setup.py.orig 2025-01-07 09:16:36 UTC
+++ setup.py
@@ -57,7 +57,7 @@ def find_libsndfile():
# only check for the mandatory main library, others are
# optional
found_lib = (tmp_lib_dir / "libsndfile.a").exists()
- elif platform.system() == "Linux":
+ elif platform.system() == "Linux" or platform.system() == "FreeBSD":
found_lib = (tmp_lib_dir / "libsndfile.so").exists()
elif platform.system() == "Darwin":
found_lib = (tmp_lib_dir / "libsndfile.dylib").exists()