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 CBDDC1381F3 for ; Sun, 2 Dec 2012 14:50:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A080121C032; Sun, 2 Dec 2012 14:50:41 +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 DBE2021C004 for ; Sun, 2 Dec 2012 14:50:40 +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 E6B7433D9F0 for ; Sun, 2 Dec 2012 14:50:39 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 882BEE544A for ; Sun, 2 Dec 2012 14:50:38 +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: <1354459799.0ea02c1566cfcae05548e42677b24267b29ac0d0.eva@gentoo> Subject: [gentoo-commits] proj/gnome:master commit in: eclass/ X-VCS-Repository: proj/gnome X-VCS-Files: eclass/gst-plugins10.eclass X-VCS-Directories: eclass/ X-VCS-Committer: eva X-VCS-Committer-Name: Gilles Dartiguelongue X-VCS-Revision: 0ea02c1566cfcae05548e42677b24267b29ac0d0 X-VCS-Branch: master Date: Sun, 2 Dec 2012 14:50:38 +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: 9a83af3a-e3f6-462f-ae04-c9b0ffafc4e3 X-Archives-Hash: 88ded0dacdc70a2352e7072c27ba2fd4 commit: 0ea02c1566cfcae05548e42677b24267b29ac0d0 Author: Gilles Dartiguelongue gentoo org> AuthorDate: Sun Dec 2 14:40:21 2012 +0000 Commit: Gilles Dartiguelongue gentoo org> CommitDate: Sun Dec 2 14:49:59 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=0ea02c15 eclass/gst-plugins10.eclass: do not pass invalid --enable value This allows all base pack ebuilds to not unset GST_PLUGINS_BUILD and avoids showing configuration option twice which is confusing. --- eclass/gst-plugins10.eclass | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/eclass/gst-plugins10.eclass b/eclass/gst-plugins10.eclass index db6102d..c41de2c 100644 --- a/eclass/gst-plugins10.eclass +++ b/eclass/gst-plugins10.eclass @@ -202,11 +202,11 @@ gst-plugins10_src_configure() { gst-plugins10_get_plugins for plugin in ${GST_PLUGINS_LIST} ; do - gst_conf="${gst_conf} --disable-${plugin}" - done - - for plugin in ${GST_PLUGINS_BUILD} ; do - gst_conf="${gst_conf} --enable-${plugin}" + if has ${plugin} ${GST_PLUGINS_BUILD} ; then + gst_conf="${gst_conf} --enable-${plugin}" + else + gst_conf="${gst_conf} --disable-${plugin}" + fi done if grep -q "ORC_CHECK" configure.* ; then