Revert "cmake-utils.eclass: print feature summary"
authorLars Wendler <polynomial-c@gentoo.org>
Thu, 8 Sep 2016 20:11:53 +0000 (22:11 +0200)
committerLars Wendler <polynomial-c@gentoo.org>
Thu, 8 Sep 2016 20:13:06 +0000 (22:13 +0200)
This reverts commit ac8c7b0f47bb1f266193375b67a6fd566d0f76d5.

Makes packages with custom FEATURE_SUMMARY fail as can be seen in
https://bugs.gentoo.org/593230

eclass/cmake-utils.eclass

index d5292bc980e97e0e87ff0444c1a7f5a58bb3ed01..393ee28a26ad94659a73fb073c91f39731ad3713 100644 (file)
@@ -425,13 +425,6 @@ _cmake_modify-cmakelists() {
                Module          \${CMAKE_MODULE_LINKER_FLAGS}
                Shared          \${CMAKE_SHARED_LINKER_FLAGS}\n")
        _EOF_
-
-       if ! grep -Fiq FEATURE_SUMMARY "${CMAKE_USE_DIR}"/CMakeLists.txt; then
-               cat >> "${CMAKE_USE_DIR}"/CMakeLists.txt <<- _EOF_ || die
-                       include(FeatureSummary)
-                       FEATURE_SUMMARY(INCLUDE_QUIET_PACKAGES WHAT ALL)
-               _EOF_
-       fi
 }
 
 # temporary function for moving cmake cleanups from from src_configure -> src_prepare.