From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 856BB139694 for ; Thu, 4 May 2017 16:28:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 97253E0CB3; Thu, 4 May 2017 16:28:33 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 749DCE0CB6 for ; Thu, 4 May 2017 16:28:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AA6813416CB for ; Thu, 4 May 2017 16:28:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6CF01744E for ; Thu, 4 May 2017 16:28:31 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1493915237.78170de967069b766241fa7793b46e031c3a761d.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/mpv/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-video/mpv/mpv-9999.ebuild X-VCS-Directories: media-video/mpv/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: 78170de967069b766241fa7793b46e031c3a761d X-VCS-Branch: master Date: Thu, 4 May 2017 16:28:31 +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: be929a67-2781-4dae-8f9c-48dcf089c29e X-Archives-Hash: fedb06c9be70b9caac6954899aebd74f commit: 78170de967069b766241fa7793b46e031c3a761d Author: Ilya Tumaykin gmail com> AuthorDate: Thu Apr 27 19:42:57 2017 +0000 Commit: David Seifert gentoo org> CommitDate: Thu May 4 16:27:17 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78170de9 media-video/mpv: cleanup messy GCC check in 9999 No more subshells and cleaner grouping of conditionals. Package-Manager: Portage-2.3.5, Repoman-2.3.2 media-video/mpv/mpv-9999.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/media-video/mpv/mpv-9999.ebuild b/media-video/mpv/mpv-9999.ebuild index e13ffde3161..9d23b6c88d5 100644 --- a/media-video/mpv/mpv-9999.ebuild +++ b/media-video/mpv/mpv-9999.ebuild @@ -138,8 +138,8 @@ PATCHES=( mpv_check_compiler() { if [[ ${MERGE_TYPE} != "binary" ]]; then - if tc-is-gcc && ( [[ $(gcc-major-version) -lt 4 ]] || \ - ( [[ $(gcc-major-version) -eq 4 ]] && [[ $(gcc-minor-version) -lt 5 ]] ) ); then + if tc-is-gcc && [[ $(gcc-major-version) -lt 4 || \ + ( $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 5 ) ]]; then die "${PN} requires GCC>=4.5." fi if ( use opengl || use egl ) && ! tc-has-tls; then