media-video/mpv: remove obsolete compiler check in 9999
authorIlya Tumaykin <itumaykin@gmail.com>
Tue, 30 May 2017 16:19:19 +0000 (19:19 +0300)
committerMichael Palimaka <kensington@gentoo.org>
Sun, 11 Jun 2017 16:55:45 +0000 (02:55 +1000)
Older GCC versions are now masked.

Package-Manager: Portage-2.3.6, Repoman-2.3.2

media-video/mpv/mpv-9999.ebuild

index 273d78e0d67bb6b9e2079cc1da4a4ade3e808e67..feb4d5ee385713ae46b20a2610a2a4c6d1802c6b 100644 (file)
@@ -142,21 +142,7 @@ PATCHES=(
        "${FILESDIR}/${PN}-0.23.0-make-libavdevice-check-accept-libav.patch"
 )
 
-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
-                       die "${PN} requires GCC>=4.5."
-               fi
-       fi
-}
-
-pkg_pretend() {
-       mpv_check_compiler
-}
-
 pkg_setup() {
-       mpv_check_compiler
        [[ ${MERGE_TYPE} != "binary" ]] && python_setup
 }