From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde-sunset:master commit in: eclass/
Date: Sun, 20 Sep 2020 12:06:30 +0000 (UTC) [thread overview]
Message-ID: <1600600531.61ba5fa8fd86062875c384b1100c897bd69a8925.asturm@gentoo> (raw)
commit: 61ba5fa8fd86062875c384b1100c897bd69a8925
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 20 11:15:31 2020 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Sep 20 11:15:31 2020 +0000
URL: https://gitweb.gentoo.org/proj/kde-sunset.git/commit/?id=61ba5fa8
kde4-base.eclass, kde4-meta.eclass: Drop use of use_if_iuse
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
eclass/kde4-base.eclass | 2 +-
eclass/kde4-meta.eclass | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/eclass/kde4-base.eclass b/eclass/kde4-base.eclass
index b13eb71a..32da6eeb 100644
--- a/eclass/kde4-base.eclass
+++ b/eclass/kde4-base.eclass
@@ -779,7 +779,7 @@ kde4-base_src_configure() {
# Build tests in src_test only, where we override this value
local cmakeargs=(-DKDE4_BUILD_TESTS=OFF)
- if use_if_iuse debug; then
+ if in_iuse debug && use debug; then
# Set "real" debug mode
CMAKE_KDE_BUILD_TYPE="Debugfull"
else
diff --git a/eclass/kde4-meta.eclass b/eclass/kde4-meta.eclass
index 7b67a63c..e6543231 100644
--- a/eclass/kde4-meta.eclass
+++ b/eclass/kde4-meta.eclass
@@ -253,7 +253,7 @@ kde4-meta_create_extractlists() {
# Add default handbook locations
# FIXME - legacy code - remove when 4.4.5 is gone or preferrably port 4.4.5.
- if [[ $(get_kde_version) < 4.5 ]] && use_if_iuse handbook && [[ -z ${KMNOMODULE} ]]; then
+ if [[ $(get_kde_version) < 4.5 ]] && in_iuse handbook && use handbook && [[ -z ${KMNOMODULE} ]]; then
# We use the basename of $KMMODULE because $KMMODULE can contain
# the path to the module subdirectory.
KMEXTRA_NONFATAL+="
@@ -302,7 +302,7 @@ kde4-meta_create_extractlists() {
CTestCustom.cmake
kdepim-version.h.cmake
kdepim-version.h"
- if use_if_iuse kontact; then
+ if in_iuse kontact && use kontact; then
KMEXTRA+="
kontact/plugins/${PLUGINNAME:-${PN}}/"
fi
@@ -528,7 +528,7 @@ kde4-meta_change_cmakelists() {
-e 's/if[[:space:]]*([[:space:]]*[[:alnum:]]*_FOUND[[:space:]]*)[[:space:]]*$/if(1) # &/' \
-i CMakeLists.txt || die "failed to disable hardcoded checks"
# Disable broken or redundant build logic
- if use_if_iuse kontact || [[ ${PN} = kontact ]]; then
+ if in_iuse kontact && use kontact || [[ ${PN} = kontact ]]; then
sed -e 's/if[[:space:]]*([[:space:]]*BUILD_.*)[[:space:]]*$/if(1) # &/' \
-e 's/if[[:space:]]*([[:space:]]*[[:alnum:]]*_FOUND[[:space:]]*)[[:space:]]*$/if(1) # &/' \
-i kontact/plugins/CMakeLists.txt || die 'failed to override build logic'
next reply other threads:[~2020-09-20 12:06 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-20 12:06 Andreas Sturmlechner [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-04-27 15:48 [gentoo-commits] proj/kde-sunset:master commit in: eclass/ Andreas Sturmlechner
2021-04-27 15:48 Andreas Sturmlechner
2020-12-07 20:53 Andreas Sturmlechner
2020-11-30 2:19 Andreas Sturmlechner
2020-11-30 2:19 Andreas Sturmlechner
2020-11-30 2:19 Andreas Sturmlechner
2020-11-30 2:19 Andreas Sturmlechner
2020-11-30 2:19 Andreas Sturmlechner
2020-08-25 14:59 Andreas Sturmlechner
2020-08-25 14:51 Andreas Sturmlechner
2020-08-23 19:46 Andreas Sturmlechner
2020-08-16 20:05 Andreas Sturmlechner
2020-08-13 14:50 Andreas Sturmlechner
2020-08-13 14:50 Andreas Sturmlechner
2020-08-13 14:50 Andreas Sturmlechner
2020-08-13 14:50 Andreas Sturmlechner
2018-09-12 20:41 Andreas Sturmlechner
2018-06-30 8:45 Andreas Sturmlechner
2018-06-30 8:45 Andreas Sturmlechner
2018-06-20 12:08 Andreas Sturmlechner
2018-05-31 20:31 Andreas Sturmlechner
2018-05-31 18:30 Andreas Sturmlechner
2018-05-31 18:30 Andreas Sturmlechner
2018-05-03 12:30 Andreas Sturmlechner
2018-04-10 13:32 Andreas Sturmlechner
2018-04-06 0:53 Andreas Sturmlechner
2016-12-17 19:08 Johannes Huber
2016-08-03 20:18 Johannes Huber
2016-04-24 7:07 Lars Wendler
2015-04-28 19:16 Ian Stakenvicius
2013-11-13 22:24 Lars Wendler
2011-05-05 21:11 Ladislav Láska
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1600600531.61ba5fa8fd86062875c384b1100c897bd69a8925.asturm@gentoo \
--to=asturm@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox