public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/devmanual:master commit in: ebuild-writing/functions/src_configure/configuring/
@ 2015-03-17 21:12 Markos Chandras
  0 siblings, 0 replies; 2+ messages in thread
From: Markos Chandras @ 2015-03-17 21:12 UTC (permalink / raw
  To: gentoo-commits

commit:     06b8dc37062e8f83f08a447e6af2ba4253da4569
Author:     Markos Chandras <hwoarang <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 17 21:09:06 2015 +0000
Commit:     Markos Chandras <hwoarang <AT> gentoo <DOT> org>
CommitDate: Tue Mar 17 21:11:49 2015 +0000
URL:        https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=06b8dc37

ebuild-writing: src_configure: Replace src_compile with src_configure

The src_configure function exists since EAPI=2 so we should use that
one to perform any sort of package configuration.

X-Gentoo-Bug: 542308
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=542308

 ebuild-writing/functions/src_configure/configuring/text.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ebuild-writing/functions/src_configure/configuring/text.xml b/ebuild-writing/functions/src_configure/configuring/text.xml
index 677334e..4ae1101 100644
--- a/ebuild-writing/functions/src_configure/configuring/text.xml
+++ b/ebuild-writing/functions/src_configure/configuring/text.xml
@@ -63,7 +63,7 @@ src_configure() {
     # ...
 }
 
-src_compile() {
+src_configure() {
     econf $(use_with X x11 )
 }
 </codesample>


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] proj/devmanual:master commit in: ebuild-writing/functions/src_configure/configuring/
@ 2021-04-10  7:05 Ulrich Müller
  0 siblings, 0 replies; 2+ messages in thread
From: Ulrich Müller @ 2021-04-10  7:05 UTC (permalink / raw
  To: gentoo-commits

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>
 


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-04-10  7:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-10  7:05 [gentoo-commits] proj/devmanual:master commit in: ebuild-writing/functions/src_configure/configuring/ Ulrich Müller
  -- strict thread matches above, loose matches on Subject: below --
2015-03-17 21:12 Markos Chandras

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox