mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
net-wireless/soapybladerf: Fix build with cmake4
Closes: https://bugs.gentoo.org/959379 Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
This commit is contained in:
@@ -23,3 +23,8 @@ SLOT="0"
|
||||
RDEPEND="net-wireless/soapysdr:=
|
||||
>=net-wireless/bladerf-2018.08:="
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e "s/2.8.7/3.5/" CMakeLists.txt || die
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@ if [ "${PV}" = "9999" ]; then
|
||||
EGIT_REPO_URI="https://github.com/pothosware/SoapyBladeRF.git"
|
||||
inherit git-r3
|
||||
else
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
KEYWORDS="~amd64 ~arm ~riscv ~x86"
|
||||
SRC_URI="https://github.com/pothosware/SoapyBladeRF/archive/soapy-bladerf-${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}"/SoapyBladeRF-soapy-bladerf-"${PV}"
|
||||
fi
|
||||
@@ -23,3 +23,8 @@ SLOT="0"
|
||||
RDEPEND="net-wireless/soapysdr:=
|
||||
>=net-wireless/bladerf-2018.08:="
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e "s/2.8.7/3.5/" CMakeLists.txt || die
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user