Skip to content
Permalink
Browse files

uhd: make active variant boost-pythonXY just for uhd release

  • Loading branch information
michaelld committed Apr 3, 2019
1 parent 58f565a commit 35b8bf1fae93cf8abb3eed274fae9de890ed1296
Showing with 6 additions and 1 deletion.
  1. +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]} {

0 comments on commit 35b8bf1

Please sign in to comment.
You can’t perform that action at this time.