From 072b30ff873bf65535e284984afa81992e9fa44d Mon Sep 17 00:00:00 2001 From: Zero_Chaos Date: Wed, 21 Oct 2015 22:59:27 -0400 Subject: x11-drivers/xf86-video-virtualbox: finish fix for bug #550202 to check gcc version in pkg_setup Package-Manager: portage-2.2.23 --- .../xf86-video-virtualbox/xf86-video-virtualbox-4.3.28-r1.ebuild | 4 ++++ .../xf86-video-virtualbox/xf86-video-virtualbox-4.3.30-r1.ebuild | 4 ++++ x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-4.3.32.ebuild | 4 ++++ .../xf86-video-virtualbox/xf86-video-virtualbox-5.0.6-r1.ebuild | 4 ++++ x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-5.0.8.ebuild | 4 ++++ 5 files changed, 20 insertions(+) (limited to 'x11-drivers/xf86-video-virtualbox') diff --git a/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-4.3.28-r1.ebuild b/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-4.3.28-r1.ebuild index 5ac584274915..14b3dec9fdbf 100644 --- a/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-4.3.28-r1.ebuild +++ b/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-4.3.28-r1.ebuild @@ -54,6 +54,10 @@ S="${WORKDIR}/${MY_P}" QA_TEXTRELS_x86="usr/lib/VBoxOGL.so" pkg_setup() { + if [ "${MERGE_TYPE}" != "binary" ]; then + version_is_at_least 4.9 $(gcc-version) || die "Please set gcc 4.9 or higher as active in gcc-config to build ${PN}" + fi + linux-mod_pkg_setup BUILD_PARAMS="KERN_DIR=${KV_OUT_DIR} KERNOUT=${KV_OUT_DIR}" diff --git a/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-4.3.30-r1.ebuild b/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-4.3.30-r1.ebuild index 83448599f7a7..7ab7060a1f1f 100644 --- a/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-4.3.30-r1.ebuild +++ b/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-4.3.30-r1.ebuild @@ -54,6 +54,10 @@ S="${WORKDIR}/${MY_P}" QA_TEXTRELS_x86="usr/lib/VBoxOGL.so" pkg_setup() { + if [ "${MERGE_TYPE}" != "binary" ]; then + version_is_at_least 4.9 $(gcc-version) || die "Please set gcc 4.9 or higher as active in gcc-config to build ${PN}" + fi + linux-mod_pkg_setup BUILD_PARAMS="KERN_DIR=${KV_OUT_DIR} KERNOUT=${KV_OUT_DIR}" diff --git a/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-4.3.32.ebuild b/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-4.3.32.ebuild index 83448599f7a7..7ab7060a1f1f 100644 --- a/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-4.3.32.ebuild +++ b/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-4.3.32.ebuild @@ -54,6 +54,10 @@ S="${WORKDIR}/${MY_P}" QA_TEXTRELS_x86="usr/lib/VBoxOGL.so" pkg_setup() { + if [ "${MERGE_TYPE}" != "binary" ]; then + version_is_at_least 4.9 $(gcc-version) || die "Please set gcc 4.9 or higher as active in gcc-config to build ${PN}" + fi + linux-mod_pkg_setup BUILD_PARAMS="KERN_DIR=${KV_OUT_DIR} KERNOUT=${KV_OUT_DIR}" diff --git a/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-5.0.6-r1.ebuild b/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-5.0.6-r1.ebuild index 872b55898f66..1fad4cc497f3 100644 --- a/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-5.0.6-r1.ebuild +++ b/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-5.0.6-r1.ebuild @@ -54,6 +54,10 @@ S="${WORKDIR}/${MY_P}" QA_TEXTRELS_x86="usr/lib/VBoxOGL.so" pkg_setup() { + if [ "${MERGE_TYPE}" != "binary" ]; then + version_is_at_least 4.9 $(gcc-version) || die "Please set gcc 4.9 or higher as active in gcc-config to build ${PN}" + fi + linux-mod_pkg_setup BUILD_PARAMS="KERN_DIR=${KV_OUT_DIR} KERNOUT=${KV_OUT_DIR}" diff --git a/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-5.0.8.ebuild b/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-5.0.8.ebuild index 872b55898f66..1fad4cc497f3 100644 --- a/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-5.0.8.ebuild +++ b/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-5.0.8.ebuild @@ -54,6 +54,10 @@ S="${WORKDIR}/${MY_P}" QA_TEXTRELS_x86="usr/lib/VBoxOGL.so" pkg_setup() { + if [ "${MERGE_TYPE}" != "binary" ]; then + version_is_at_least 4.9 $(gcc-version) || die "Please set gcc 4.9 or higher as active in gcc-config to build ${PN}" + fi + linux-mod_pkg_setup BUILD_PARAMS="KERN_DIR=${KV_OUT_DIR} KERNOUT=${KV_OUT_DIR}" -- cgit v1.2.3-65-gdbad