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 21EF913877A for ; Sat, 26 Jul 2014 10:46:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 34D6FE0A6E; Sat, 26 Jul 2014 10:46:15 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 837C9E0A6E for ; Sat, 26 Jul 2014 10:46:14 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A4CFB33FE25 for ; Sat, 26 Jul 2014 10:46:13 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id A7B8018DCD for ; Sat, 26 Jul 2014 10:46:11 +0000 (UTC) From: "Davide Pesavento" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Davide Pesavento" Message-ID: <1406368410.1e26c0d965e1d8d070c19d359fb43e6a70bf91ce.pesa@gentoo> Subject: [gentoo-commits] proj/qt:master commit in: eclass/ X-VCS-Repository: proj/qt X-VCS-Files: eclass/qt5-build.eclass X-VCS-Directories: eclass/ X-VCS-Committer: pesa X-VCS-Committer-Name: Davide Pesavento X-VCS-Revision: 1e26c0d965e1d8d070c19d359fb43e6a70bf91ce X-VCS-Branch: master Date: Sat, 26 Jul 2014 10:46:11 +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: 08a5ba0e-9a88-4590-9d13-4638b0545ee8 X-Archives-Hash: 1d57693853ad7874ffbf72501f9c8f26 commit: 1e26c0d965e1d8d070c19d359fb43e6a70bf91ce Author: Davide Pesavento gentoo org> AuthorDate: Sat Jul 26 09:53:30 2014 +0000 Commit: Davide Pesavento gentoo org> CommitDate: Sat Jul 26 09:53:30 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/qt.git;a=commit;h=1e26c0d9 [qt5-build.eclass] Extend QT5_GENTOO_CONFIG syntax. A single '!' as first element of a triplet always evaluates as false. --- eclass/qt5-build.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass index 84d1ceb..00456df 100644 --- a/eclass/qt5-build.eclass +++ b/eclass/qt5-build.eclass @@ -609,7 +609,7 @@ qt5_install_module_qconfigs() { local macro=${x} macro=$(tr 'a-z-' 'A-Z_' <<< "${macro}") - if [[ -z ${flag} ]] || use ${flag}; then + if [[ -z ${flag} ]] || { [[ ${flag} != '!' ]] && use ${flag}; }; then [[ -n ${feature} ]] && QCONFIG_ADD+=("${feature}") [[ -n ${macro} ]] && QCONFIG_DEFINE+=("QT_${macro}") else