From eafa08869f78d5c5bf1421bdde6912c01de3f15e Mon Sep 17 00:00:00 2001 From: Ilya Tumaykin Date: Tue, 30 May 2017 19:19:19 +0300 Subject: media-video/mpv: remove obsolete compiler check in 9999 Older GCC versions are now masked. Package-Manager: Portage-2.3.6, Repoman-2.3.2 --- media-video/mpv/mpv-9999.ebuild | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'media-video') diff --git a/media-video/mpv/mpv-9999.ebuild b/media-video/mpv/mpv-9999.ebuild index 273d78e0d67b..feb4d5ee3857 100644 --- a/media-video/mpv/mpv-9999.ebuild +++ b/media-video/mpv/mpv-9999.ebuild @@ -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 } -- cgit v1.2.3-65-gdbad