From 9b30217d8f3fab212eb6635b85c2ae7e29e93c47 Mon Sep 17 00:00:00 2001 From: Mart Raudsepp Date: Mon, 30 Dec 2019 16:01:12 +0200 Subject: net-libs/webkit-gtk: adjust compiler deps and checks The gcc < 7.3 check will work wrong once gcc10 comes along. Adjust the clang dep to match when initial C++17 support came along. Package-Manager: Portage-2.3.79, Repoman-2.3.12 Signed-off-by: Mart Raudsepp --- net-libs/webkit-gtk/webkit-gtk-2.26.2.ebuild | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'net-libs/webkit-gtk') diff --git a/net-libs/webkit-gtk/webkit-gtk-2.26.2.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.26.2.ebuild index 5c3c199bdba5..5716514c3dfb 100644 --- a/net-libs/webkit-gtk/webkit-gtk-2.26.2.ebuild +++ b/net-libs/webkit-gtk/webkit-gtk-2.26.2.ebuild @@ -114,7 +114,7 @@ DEPEND="${RDEPEND} >=dev-util/gtk-doc-am-1.10 >=dev-util/gperf-3.0.1 >=sys-devel/bison-2.4.3 - || ( >=sys-devel/gcc-7.3 >=sys-devel/clang-3.3 ) + || ( >=sys-devel/gcc-7.3 >=sys-devel/clang-5 ) sys-devel/gettext virtual/pkgconfig @@ -148,10 +148,6 @@ pkg_pretend() { if ! test-flag-CXX -std=c++17 ; then die "You need at least GCC 7.3.x or Clang >= 5 for C++17-specific compiler flags" fi - - if tc-is-gcc && [[ $(gcc-version) < 7.3 ]] ; then - die 'The active compiler needs to be gcc 7.3 (or newer)' - fi fi if ! use opengl && ! use gles2-only; then -- cgit v1.2.3-65-gdbad