aboutsummaryrefslogtreecommitdiff
path: root/misc/py-SoapySDR/files/patch-python3_FindPython3Libs.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'misc/py-SoapySDR/files/patch-python3_FindPython3Libs.cmake')
-rw-r--r--misc/py-SoapySDR/files/patch-python3_FindPython3Libs.cmake11
1 files changed, 11 insertions, 0 deletions
diff --git a/misc/py-SoapySDR/files/patch-python3_FindPython3Libs.cmake b/misc/py-SoapySDR/files/patch-python3_FindPython3Libs.cmake
new file mode 100644
index 000000000000..ba851c87ee19
--- /dev/null
+++ b/misc/py-SoapySDR/files/patch-python3_FindPython3Libs.cmake
@@ -0,0 +1,11 @@
+--- python3/FindPython3Libs.cmake.orig 2018-06-19 06:36:21 UTC
++++ python3/FindPython3Libs.cmake
+@@ -46,7 +46,7 @@ INCLUDE(CMakeFindFrameworks)
+ # Search for the python framework on Apple.
+ # CMAKE_FIND_FRAMEWORKS(Python)
+
+-FOREACH(_CURRENT_VERSION 3.5 3.4 3.3 3.2 3.1 3.0)
++FOREACH(_CURRENT_VERSION ${FREEBSD_PYTHON_VER2})
+ IF(_CURRENT_VERSION GREATER 3.1)
+ SET(_32FLAGS "m" "u" "mu" "dm" "du" "dmu" "")
+ ELSE()