summaryrefslogtreecommitdiff
path: root/audio/py-pysndfile/files/patch-setup.py
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2025-01-07 01:20:33 -0800
committerYuri Victorovich <yuri@FreeBSD.org>2025-01-07 01:29:09 -0800
commite880c2801f775d65a5860b6c48863072af8b7892 (patch)
treead7d5fd98d208c80edc71d81aa7e2495671b8dfc /audio/py-pysndfile/files/patch-setup.py
parentbiology/ncbi-cxx-toolkit: update 28.0.11 → 28.0.12 (diff)
audio/py-pysndfile: update 1.4.6 → 1.4.7
Reported by: portscout
Diffstat (limited to 'audio/py-pysndfile/files/patch-setup.py')
-rw-r--r--audio/py-pysndfile/files/patch-setup.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/audio/py-pysndfile/files/patch-setup.py b/audio/py-pysndfile/files/patch-setup.py
new file mode 100644
index 000000000000..29b0b4bc971a
--- /dev/null
+++ b/audio/py-pysndfile/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- 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()