diff options
author | Sam James <sam@gentoo.org> | 2021-04-10 01:28:47 +0000 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2021-04-10 09:04:31 +0200 |
commit | 4cc1ee4c4af01c1fdd70292fc7d30b9a844a6b0d (patch) | |
tree | e4dd42664afa0fa8790517cf830a73861da583ed | |
parent | general-concepts/use-flags: Update example to current best practice (diff) | |
download | devmanual-4cc1ee4c4af01c1fdd70292fc7d30b9a844a6b0d.tar.gz devmanual-4cc1ee4c4af01c1fdd70292fc7d30b9a844a6b0d.tar.bz2 devmanual-4cc1ee4c4af01c1fdd70292fc7d30b9a844a6b0d.zip |
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@gentoo.org>
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
-rw-r--r-- | ebuild-writing/functions/src_configure/configuring/text.xml | 16 |
1 files 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> |