1 |
commit: 4cc1ee4c4af01c1fdd70292fc7d30b9a844a6b0d |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Apr 10 01:28:47 2021 +0000 |
4 |
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 10 07:04:31 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=4cc1ee4c |
7 |
|
8 |
ebuild-writing/functions/src_configure/configuring: drop whitespace in $(use_enable) |
9 |
|
10 |
Closes: https://github.com/gentoo/devmanual/pull/221 |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> |
13 |
|
14 |
.../functions/src_configure/configuring/text.xml | 16 ++++++++-------- |
15 |
1 file changed, 8 insertions(+), 8 deletions(-) |
16 |
|
17 |
diff --git a/ebuild-writing/functions/src_configure/configuring/text.xml b/ebuild-writing/functions/src_configure/configuring/text.xml |
18 |
index 86657bc..18d3e9e 100644 |
19 |
--- a/ebuild-writing/functions/src_configure/configuring/text.xml |
20 |
+++ b/ebuild-writing/functions/src_configure/configuring/text.xml |
21 |
@@ -32,16 +32,16 @@ where appropriate, be used to generate these switches. |
22 |
src_configure() { |
23 |
# We have optional perl, python and ruby support |
24 |
econf \ |
25 |
- $(use_enable perl ) \ |
26 |
- $(use_enable python ) \ |
27 |
- $(use_enable ruby ) |
28 |
+ $(use_enable perl) \ |
29 |
+ $(use_enable python) \ |
30 |
+ $(use_enable ruby) |
31 |
} |
32 |
|
33 |
src_configure() { |
34 |
# Our package optional IPv6 support which uses --with rather than |
35 |
# --enable / --disable |
36 |
|
37 |
- econf $(use_with ipv6 ) |
38 |
+ econf $(use_with ipv6) |
39 |
} |
40 |
</codesample> |
41 |
|
42 |
@@ -56,15 +56,15 @@ argument forms: |
43 |
src_configure() { |
44 |
# Our package has optional perl, python and ruby support |
45 |
econf \ |
46 |
- $(use_enable perl perlinterp ) \ |
47 |
- $(use_enable python pythoninterp ) \ |
48 |
- $(use_enable ruby rubyinterp ) |
49 |
+ $(use_enable perl perlinterp) \ |
50 |
+ $(use_enable python pythoninterp) \ |
51 |
+ $(use_enable ruby rubyinterp) |
52 |
|
53 |
# ... |
54 |
} |
55 |
|
56 |
src_configure() { |
57 |
- econf $(use_with X x11 ) |
58 |
+ econf $(use_with X x11) |
59 |
} |
60 |
</codesample> |