commit: 2be18852abf92036751d0fffa4519a372c69de44
Author: Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 4 11:39:51 2025 +0000
Commit: Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
CommitDate: Fri Apr 4 11:45:34 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2be18852
net-wireless/gr-ieee802154: Fix doc install
Avoid file collission with net-wireless/gnuradio
Signed-off-by: Thomas Beierlein <tomjbe <AT> gentoo.org>
.../gr-ieee802154/gr-ieee802154-0.0_p20210719-r3.ebuild | 10 +++-------
net-wireless/gr-ieee802154/gr-ieee802154-9999.ebuild | 10 +++-------
2 files changed, 6 insertions(+), 14 deletions(-)
diff --git a/net-wireless/gr-ieee802154/gr-ieee802154-0.0_p20210719-r3.ebuild
b/net-wireless/gr-ieee802154/gr-ieee802154-0.0_p20210719-r3.ebuild
index e1b48bb9f238..6b2b1f0b5573 100644
--- a/net-wireless/gr-ieee802154/gr-ieee802154-0.0_p20210719-r3.ebuild
+++ b/net-wireless/gr-ieee802154/gr-ieee802154-0.0_p20210719-r3.ebuild
@@ -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
@@ -38,18 +38,14 @@ BDEPEND="dev-lang/swig"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
src_prepare() {
- #although cppunit is not used, it fails if it isn't there, fix it
- sed -i 's#FATAL_ERROR "CppUnit#MESSAGE "CppUnit#' CMakeLists.txt
- sed -i '/${CPPUNIT_INCLUDE_DIRS}/d' CMakeLists.txt
- sed -i '/${CPPUNIT_LIBRARY_DIRS}/d' CMakeLists.txt
- sed -i '/GR_PKG_DOC_DIR/d' CMakeLists.txt
+ # fix path for doc files
+ sed -i "s/802_15_4 CXX/802154 CXX/" CMakeLists.txt || die
cmake_src_prepare
}
src_configure() {
local mycmakeargs=(
-DPYTHON_EXECUTABLE="${PYTHON}"
- -DGR_PKG_DOC_DIR="/usr/share/doc/${P}"
)
cmake_src_configure
}
diff --git a/net-wireless/gr-ieee802154/gr-ieee802154-9999.ebuild
b/net-wireless/gr-ieee802154/gr-ieee802154-9999.ebuild
index fbf88104daa3..ee9d7719bf1d 100644
--- a/net-wireless/gr-ieee802154/gr-ieee802154-9999.ebuild
+++ b/net-wireless/gr-ieee802154/gr-ieee802154-9999.ebuild
@@ -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
@@ -38,18 +38,14 @@ BDEPEND="dev-lang/swig"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
src_prepare() {
- #although cppunit is not used, it fails if it isn't there, fix it
- sed -i 's#FATAL_ERROR "CppUnit#MESSAGE "CppUnit#' CMakeLists.txt
- sed -i '/${CPPUNIT_INCLUDE_DIRS}/d' CMakeLists.txt
- sed -i '/${CPPUNIT_LIBRARY_DIRS}/d' CMakeLists.txt
- sed -i '/GR_PKG_DOC_DIR/d' CMakeLists.txt
+ # fix path for doc files
+ sed -i "s/802_15_4 CXX/802154 CXX/" CMakeLists.txt || die
cmake_src_prepare
}
src_configure() {
local mycmakeargs=(
-DPYTHON_EXECUTABLE="${PYTHON}"
- -DGR_PKG_DOC_DIR="/usr/share/doc/${P}"
)
cmake_src_configure
}