commit: eafa08869f78d5c5bf1421bdde6912c01de3f15e
Author: Ilya Tumaykin <itumaykin <AT> gmail <DOT> com>
AuthorDate: Tue May 30 16:19:19 2017 +0000
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Sun Jun 11 16:55:45 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eafa0886
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(-)
diff --git a/media-video/mpv/mpv-9999.ebuild b/media-video/mpv/mpv-9999.ebuild
index 273d78e0d67..feb4d5ee385 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
}