mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
net-wireless/hackrf-tools: Fix build with cmake4
Closes: https://bugs.gentoo.org/957447 Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -26,6 +26,13 @@ DEPEND="~net-libs/libhackrf-${PV}:=
|
||||
sci-libs/fftw:3.0="
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
# Fix build with cmake4 i
|
||||
# (see https://github.com/greatscottgadgets/hackrf/pull/1514)
|
||||
src_prepare() {
|
||||
sed -i -e "s/2.8.12/3.8/" CMakeLists.txt || die
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
newsbin "${FILESDIR}/hackrf_easy_flash-r1" hackrf_easy_flash
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -26,6 +26,13 @@ DEPEND="~net-libs/libhackrf-${PV}:=
|
||||
sci-libs/fftw:3.0="
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
# Fix build with cmake4 i
|
||||
# (see https://github.com/greatscottgadgets/hackrf/pull/1514)
|
||||
src_prepare() {
|
||||
sed -i -e "s/2.8.12/3.8/" CMakeLists.txt || die
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
newsbin "${FILESDIR}/hackrf_easy_flash-r1" hackrf_easy_flash
|
||||
|
||||
Reference in New Issue
Block a user