diff options
author | Ilya Tumaykin <itumaykin@gmail.com> | 2017-04-27 22:42:57 +0300 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2017-05-04 18:27:17 +0200 |
commit | 78170de967069b766241fa7793b46e031c3a761d (patch) | |
tree | 8193bbca395ae6824a985a039d3655899110f223 /media-video/mpv | |
parent | media-video/mpv: adjust SSE4.1 intrinsics check in 9999 (diff) | |
download | gentoo-78170de967069b766241fa7793b46e031c3a761d.tar.gz gentoo-78170de967069b766241fa7793b46e031c3a761d.tar.bz2 gentoo-78170de967069b766241fa7793b46e031c3a761d.zip |
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
Diffstat (limited to 'media-video/mpv')
-rw-r--r-- | media-video/mpv/mpv-9999.ebuild | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/media-video/mpv/mpv-9999.ebuild b/media-video/mpv/mpv-9999.ebuild index e13ffde31611..9d23b6c88d54 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 |