Permalink
Browse files
uhd: make active variant boost-pythonXY just for uhd release
- Loading branch information
Showing
with
6 additions
and
1 deletion.
-
+6
−1
science/uhd/Portfile
|
|
@@ -367,7 +367,12 @@ if {${subport} ne "uhd-39lts"} { |
|
|
-DPYTHON_LIBRARY=${frameworks_dir}/Python.framework/Versions/${PythonVersionWithDot}/Python \ |
|
|
-DUHD_PYTHON_DIR=${frameworks_dir}/Python.framework/Versions/${PythonVersionWithDot}/lib/python${PythonVersionWithDot}/site-packages |
|
|
|
|
|
require_active_variants boost python${PythonVersionNoDot} |
|
|
# 'uhd' requires boost-python to be the correct version, not |
|
|
# 'uhd-devel' or 'uhd-39lts'; remove this once the release has |
|
|
# fully moved to pybind11. |
|
|
if {${subport} eq "uhd"} { |
|
|
require_active_variants boost python${PythonVersionNoDot} |
|
|
} |
|
|
} |
|
|
|
|
|
if {![variant_isset python_api]} { |
|
|
|