summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-11-10 21:16:57 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2024-12-12 22:43:39 +0100
commitfc3db4aa958d7b445396551860c1d68336459d37 (patch)
tree6c7fea79d21fbb3fc39d956039ccf37ac324b608 /eclass
parentecm.eclass: Replace check for CATEGORY with kde.org.eclass test (diff)
downloadgentoo-fc3db4aa958d7b445396551860c1d68336459d37.tar.gz
gentoo-fc3db4aa958d7b445396551860c1d68336459d37.tar.bz2
gentoo-fc3db4aa958d7b445396551860c1d68336459d37.zip
ecm.eclass: CATEGORY=kde-frameworks -> -n _FRAMEWORKS_KDE_ORG_ECLASS
Not all Frameworks packages are always in kde-frameworks category - sometimes they are moving - but they all inherit frameworks.kde.org.eclass. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ecm.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/ecm.eclass b/eclass/ecm.eclass
index f3bb42c10ee8..e6d1bf9c40a8 100644
--- a/eclass/ecm.eclass
+++ b/eclass/ecm.eclass
@@ -572,7 +572,7 @@ ecm_src_prepare() {
fi
# in frameworks, tests = manual tests so never build them
- if [[ ${CATEGORY} = kde-frameworks ]] && [[ ${PN} != extra-cmake-modules ]]; then
+ if [[ -n ${_FRAMEWORKS_KDE_ORG_ECLASS} ]] && [[ ${PN} != extra-cmake-modules ]]; then
cmake_comment_add_subdirectory tests
fi
}