commit: 4cc1ee4c4af01c1fdd70292fc7d30b9a844a6b0d Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sat Apr 10 01:28:47 2021 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Sat Apr 10 07:04:31 2021 +0000 URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=4cc1ee4c
ebuild-writing/functions/src_configure/configuring: drop whitespace in $(use_enable) Closes: https://github.com/gentoo/devmanual/pull/221 Signed-off-by: Sam James <sam <AT> gentoo.org> Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> .../functions/src_configure/configuring/text.xml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/ebuild-writing/functions/src_configure/configuring/text.xml b/ebuild-writing/functions/src_configure/configuring/text.xml index 86657bc..18d3e9e 100644 --- a/ebuild-writing/functions/src_configure/configuring/text.xml +++ b/ebuild-writing/functions/src_configure/configuring/text.xml @@ -32,16 +32,16 @@ where appropriate, be used to generate these switches. src_configure() { # We have optional perl, python and ruby support econf \ - $(use_enable perl ) \ - $(use_enable python ) \ - $(use_enable ruby ) + $(use_enable perl) \ + $(use_enable python) \ + $(use_enable ruby) } src_configure() { # Our package optional IPv6 support which uses --with rather than # --enable / --disable - econf $(use_with ipv6 ) + econf $(use_with ipv6) } </codesample> @@ -56,15 +56,15 @@ argument forms: src_configure() { # Our package has optional perl, python and ruby support econf \ - $(use_enable perl perlinterp ) \ - $(use_enable python pythoninterp ) \ - $(use_enable ruby rubyinterp ) + $(use_enable perl perlinterp) \ + $(use_enable python pythoninterp) \ + $(use_enable ruby rubyinterp) # ... } src_configure() { - econf $(use_with X x11 ) + econf $(use_with X x11) } </codesample>
