# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortGroup compiler_blacklist_versions 1.0
PortGroup active_variants 1.1
maintainers {michaelld @michaelld}
description USRP Hardware Driver for Ettus Research Products
if {${subport} eq ${name}} {
long_description ${description}: \
Provides the release version, which is typically updated every month or so.
github.setup EttusResearch uhd 3.14.1.1 v
checksums rmd160 1524187dd19a6741c95dc73ca4895eb517daf921 \
sha256 61bf4875fd2baecb13fae67bd6b6770eefc6f519a9ba9a5f19fdf41d516ff142 \
conflicts uhd-devel uhd-39lts
# set the version override string
set UHD_VERSION_INFO "Release"
# overload the github livecheck regex to look for versions that
# are just numbers and '.', no letters (e.g., "3.7.3_rc2").
github.livecheck.regex {([0-9.]+)}
# temporary patch to disable Boost DIRS before internal DIRS
patchfiles-append patch-host_CMakeLists.txt.release.diff
# temporary patch to fix working with various Boost versions,
patchfiles-append patch-fix-Boost_1.70.0_find.release.diff
# temporary patch to fix searching for Boost::Python, which
# depends on the version of Boost & which Python. 2 parts: a patch
# and then reinplace. This is part 1.
patchfiles-append patch-fix-boost-python.release.diff
# temporary patch to fix searching for Boost::Python, which
# depends on the version of Boost & which Python. 2 parts: a patch
# and then reinplace. This is part 2.
# need to do this only for +python3X variants
if {${PythonVersionNoDot} ne "27"} {
reinplace "s|@PythonVersionNoDot@|${PythonVersionNoDot}|g" \
${worksrcpath}/host/CMakeLists.txt