Gentoo Archives: gentoo-dev

From: David Seifert <soap@g.o>
To: gentoo-dev@l.g.o
Cc: David Seifert <soap@g.o>
Subject: [gentoo-dev] [PATCH 4/6] wxwidgets.eclass: Clean up setup-wxwidgets eclassdoc
Date: Sun, 25 Apr 2021 13:55:44
Message-Id: 20210425135401.3397709-4-soap@gentoo.org
In Reply to: [gentoo-dev] [PATCH 1/6] wxwidgets.eclass: Remove need-wxwidgets alias by David Seifert
1 Signed-off-by: David Seifert <soap@g.o>
2 ---
3 eclass/wxwidgets.eclass | 22 ++++++++++------------
4 1 file changed, 10 insertions(+), 12 deletions(-)
5
6 diff --git a/eclass/wxwidgets.eclass b/eclass/wxwidgets.eclass
7 index 09c45ba48a5..019bc75ee79 100644
8 --- a/eclass/wxwidgets.eclass
9 +++ b/eclass/wxwidgets.eclass
10 @@ -79,20 +79,18 @@ esac
11
12 # @FUNCTION: setup-wxwidgets
13 # @DESCRIPTION:
14 -# Call this in your ebuild to set up the environment for wxGTK. Besides
15 -# controlling the wx-config wrapper this exports WX_CONFIG containing
16 -# the path to the config in case it needs to be passed to a build system.
17 +# Call this in your ebuild to set up the environment for wxGTK in src_configure.
18 +# Besides controlling the wx-config wrapper, this exports WX_CONFIG containing
19 +# the path to the config in case it needs to be passed to the build system.
20 #
21 -# In wxGTK-2.9 and later it also controls the level of debugging output
22 -# from the libraries. In these versions debugging features are enabled
23 -# by default and need to be disabled at the package level. Because this
24 -# causes many warning dialogs to pop up during runtime we add -DNDEBUG to
25 -# CPPFLAGS to disable debugging features (unless your ebuild has a debug
26 -# USE flag and it's enabled). If you don't like this behavior you can set
27 -# WX_DISABLE_NDEBUG to override it.
28 +# This function also controls the level of debugging output from the libraries.
29 +# Debugging features are enabled by default and need to be disabled at the
30 +# package level. Because this causes many warning dialogs to pop up during
31 +# runtime, we add -DNDEBUG to CPPFLAGS to disable debugging features (unless
32 +# your ebuild has a debug USE flag and it's enabled). If you don't like this
33 +# behavior, you can set WX_DISABLE_NDEBUG to override it.
34 #
35 -# See: http://docs.wxwidgets.org/trunk/overview_debugging.html
36 -
37 +# See: https://docs.wxwidgets.org/trunk/overview_debugging.html
38 setup-wxwidgets() {
39 local w wxtoolkit wxconf
40
41 --
42 2.31.1