From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 404C11381FB for ; Thu, 27 Dec 2012 22:20:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E968421C0A8; Thu, 27 Dec 2012 22:19:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5FC6C21C0A8 for ; Thu, 27 Dec 2012 22:19:52 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7446C33D902 for ; Thu, 27 Dec 2012 22:19:51 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 1C740E544B for ; Thu, 27 Dec 2012 22:19:50 +0000 (UTC) From: "Gilles Dartiguelongue" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Gilles Dartiguelongue" Message-ID: <1356645827.f3c55f4fd61a2abccd1d7c528d76804e45da88a9.eva@gentoo> Subject: [gentoo-commits] proj/gnome:master commit in: eclass/ X-VCS-Repository: proj/gnome X-VCS-Files: eclass/gnome2.eclass X-VCS-Directories: eclass/ X-VCS-Committer: eva X-VCS-Committer-Name: Gilles Dartiguelongue X-VCS-Revision: f3c55f4fd61a2abccd1d7c528d76804e45da88a9 X-VCS-Branch: master Date: Thu, 27 Dec 2012 22:19:50 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: b1340a8e-54d4-459f-9f2b-ad87dfcb565c X-Archives-Hash: 907404538575bf088a31e8038a495cbb commit: f3c55f4fd61a2abccd1d7c528d76804e45da88a9 Author: Gilles Dartiguelongue gentoo org> AuthorDate: Thu Dec 27 22:03:47 2012 +0000 Commit: Gilles Dartiguelongue gentoo org> CommitDate: Thu Dec 27 22:03:47 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=f3c55f4f eclass/gnome2.eclass: switch IUSE tests to in_iuse, bug #383901 --- eclass/gnome2.eclass | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/gnome2.eclass b/eclass/gnome2.eclass index 70eb491..e263232 100644 --- a/eclass/gnome2.eclass +++ b/eclass/gnome2.eclass @@ -158,7 +158,7 @@ gnome2_src_configure() { # rebuild docs. # Preserve old behavior for older EAPI. if grep -q "enable-gtk-doc" ${ECONF_SOURCE:-.}/configure ; then - 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 G2CONF="${G2CONF} $(use_enable doc gtk-doc)" else G2CONF="${G2CONF} --disable-gtk-doc" @@ -266,7 +266,7 @@ gnome2_src_install() { if has ${EAPI:-0} 0 1 2 3 4; then if [[ "${GNOME2_LA_PUNT}" != "no" ]]; then ebegin "Removing .la files" - if ! { has static-libs ${IUSE//+} && use static-libs; }; then + if ! { in_iuse static-libs && use static-libs; }; then find "${D}" -name '*.la' -exec rm -f {} + || die "la file removal failed" fi eend