diff options
| author | Michael Palimaka <kensington@gentoo.org> | 2016-04-08 05:20:05 +1000 |
|---|---|---|
| committer | Michael Palimaka <kensington@gentoo.org> | 2016-04-08 05:20:11 +1000 |
| commit | 92c399440dbaaaaadc80669da9c7f7722b71e896 (patch) | |
| tree | c0fe11b1727559075845288bbf2fb4a9289167be | |
| parent | b5dc20d850e6b78ada18f3cd24d261e7fde255f9 (diff) | |
| download | kde-92c399440dbaaaaadc80669da9c7f7722b71e896.tar.gz kde-92c399440dbaaaaadc80669da9c7f7722b71e896.tar.bz2 kde-92c399440dbaaaaadc80669da9c7f7722b71e896.zip | |
kde5-functions.eclass: further dependency punting improvements
This now handles the case of 'find_package(Qt5 REQUIRED COMPONENTS )'.
Thanks again to Arfrever.
| -rw-r--r-- | eclass/kde5-functions.eclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/kde5-functions.eclass b/eclass/kde5-functions.eclass index 1b882d48ed0..44bc29631a5 100644 --- a/eclass/kde5-functions.eclass +++ b/eclass/kde5-functions.eclass @@ -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\|CONFIG\|COMPONENTS\|\${KF5_VERSION}\)\)\+)/Is/^/# removed by kde5-functions.eclass - /" -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 } |
