kde5.eclass: Remove obsolete KDE_PUNT_BOGUS_DEPS handling
authorAndreas Sturmlechner <andreas.sturmlechner@gmail.com>
Sun, 7 Aug 2016 19:02:52 +0000 (21:02 +0200)
committerMichael Palimaka <kensington@gentoo.org>
Wed, 31 Aug 2016 14:23:26 +0000 (00:23 +1000)
eclass/kde5.eclass

index c1dd3b5d6815d795b632de777394df8104032180..4fc4b1aa0d4d899c90c5ea5096d4ecf31fa0737b 100644 (file)
@@ -109,13 +109,6 @@ if [[ ${KDEBASE} = kdel10n ]]; then
        fi
 fi
 
-# @ECLASS-VARIABLE: KDE_PUNT_BOGUS_DEPS
-# @DESCRIPTION:
-# If set to "false", do nothing.
-# For any other value, do black magic to make hardcoded-but-optional dependencies
-# optional again. An upstream solution is preferable and this is a last resort.
-: ${KDE_PUNT_BOGUS_DEPS:=false}
-
 # @ECLASS-VARIABLE: KDE_SELINUX_MODULE
 # @DESCRIPTION:
 # If set to "none", do nothing.
@@ -489,18 +482,6 @@ EOF
                cmake_comment_add_subdirectory tests
        fi
 
-       case ${KDE_PUNT_BOGUS_DEPS} in
-               false)  ;;
-               *)
-                       if ! use_if_iuse test ; then
-                               punt_bogus_dep Qt5 Test
-                       fi
-                       if ! use_if_iuse handbook ; then
-                               punt_bogus_dep KF5 DocTools
-                       fi
-                       ;;
-       esac
-
        # only build unit tests when required
        if ! use_if_iuse test ; then
                if [[ ${KDE_TEST} = forceoptional ]] ; then