[gentoo-dev] [PATCH 1/4] switch IUSE tests to in_iuse, bug #383901

2013-01-13 Thread Gilles Dartiguelongue
has bla ${IUSE} is standardized through in_iuse. Make use of this function. --- eclass/gnome2.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/gnome2.eclass b/eclass/gnome2.eclass index 70eb491..e263232 100644 --- a/eclass/gnome2.eclass +++

Re: [gentoo-dev] [PATCH 1/4] switch IUSE tests to in_iuse, bug #383901

2013-01-13 Thread Ciaran McCreesh
On Sun, 13 Jan 2013 20:03:20 +0100 Gilles Dartiguelongue e...@gentoo.org wrote: - if has ${EAPI-0} 0 1 2 3 4 has doc ${IUSE} ; then + if has ${EAPI:-0} 0 1 2 3 4 in_iuse doc ; then This is still wrong... You can't use IUSE like that. -- Ciaran McCreesh

Re: [gentoo-dev] [PATCH 1/4] switch IUSE tests to in_iuse, bug #383901

2013-01-13 Thread Michał Górny
On Sun, 13 Jan 2013 19:09:05 + Ciaran McCreesh ciaran.mccre...@googlemail.com wrote: On Sun, 13 Jan 2013 20:03:20 +0100 Gilles Dartiguelongue e...@gentoo.org wrote: - if has ${EAPI-0} 0 1 2 3 4 has doc ${IUSE} ; then + if has ${EAPI:-0} 0 1 2 3 4 in_iuse doc ; then

Re: [gentoo-dev] [PATCH 1/4] switch IUSE tests to in_iuse, bug #383901

2013-01-13 Thread Gilles Dartiguelongue
Le dimanche 13 janvier 2013 à 19:09 +, Ciaran McCreesh a écrit : On Sun, 13 Jan 2013 20:03:20 +0100 Gilles Dartiguelongue e...@gentoo.org wrote: - if has ${EAPI-0} 0 1 2 3 4 has doc ${IUSE} ; then + if has ${EAPI:-0} 0 1 2 3 4 in_iuse doc ; then This is still

Re: [gentoo-dev] [PATCH 1/4] switch IUSE tests to in_iuse, bug #383901

2013-01-13 Thread Ciaran McCreesh
On Sun, 13 Jan 2013 20:35:59 +0100 Gilles Dartiguelongue e...@gentoo.org wrote: Le dimanche 13 janvier 2013 à 19:09 +, Ciaran McCreesh a écrit : On Sun, 13 Jan 2013 20:03:20 +0100 Gilles Dartiguelongue e...@gentoo.org wrote: - if has ${EAPI-0} 0 1 2 3 4 has doc ${IUSE} ;