mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
kde5-functions.eclass: punt_bogus_deps improvements
Syncs eclass with kde overlay. Improvements by Michael Palimaka <kensington@gentoo.org>. Needed for bug #580282.
This commit is contained in:
@@ -274,7 +274,7 @@ punt_bogus_dep() {
|
||||
sed -e "${first},${last}s/${dep}//" -i CMakeLists.txt || die
|
||||
|
||||
if [[ ${length} = 1 ]] ; then
|
||||
sed -e "/find_package\s*(\s*${prefix}\s*\(REQUIRED\)*\s*\(COMPONENTS\)*\s*)/I d" -i CMakeLists.txt || die
|
||||
sed -e "/find_package\s*(\s*${prefix}\(\s\+\(REQUIRED\|CONFIG\|COMPONENTS\|\${KF5_VERSION}\)\)\+\s*)/Is/^/# removed by kde5-functions.eclass - /" -i CMakeLists.txt || die
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user