public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] patch eutils.eclass for EAPI 5
@ 2012-09-27 16:49 Ulrich Mueller
  2012-09-27 17:07 ` Zac Medico
  0 siblings, 1 reply; 10+ messages in thread
From: Ulrich Mueller @ 2012-09-27 16:49 UTC (permalink / raw
  To: gentoo-dev

As far as I can see, only the definition of the usex function must be
disabled. Please review the patch included below.

Ulrich

--- eutils.eclass	15 Sep 2012 16:16:53 -0000	1.403
+++ eutils.eclass	27 Sep 2012 16:45:14 -0000
@@ -1373,7 +1373,9 @@
 # @DESCRIPTION:
 # If USE flag is set, echo [true output][true suffix] (defaults to "yes"),
 # otherwise echo [false output][false suffix] (defaults to "no").
+if has "${EAPI:-0}" 0 1 2 3 4; then
 usex() { use "$1" && echo "${2-yes}$4" || echo "${3-no}$5" ; } #382963
+fi
 
 # @FUNCTION: prune_libtool_files
 # @USAGE: [--all]


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

end of thread, other threads:[~2012-09-29 16:02 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-27 16:49 [gentoo-dev] patch eutils.eclass for EAPI 5 Ulrich Mueller
2012-09-27 17:07 ` Zac Medico
2012-09-27 17:16   ` Ian Stakenvicius
2012-09-27 17:30     ` Zac Medico
2012-09-27 17:53       ` Brian Harring
2012-09-28 14:32     ` Jeroen Roovers
2012-09-28 17:08       ` Ian Stakenvicius
2012-09-27 17:23   ` Zac Medico
2012-09-28 15:28     ` [gentoo-dev] " Ulrich Mueller
2012-09-29 15:57     ` [gentoo-dev] " Ciaran McCreesh

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