diff options
-rw-r--r-- | app-emulation/virtualbox/virtualbox-5.0.16-r1.ebuild | 4 | ||||
-rw-r--r-- | app-emulation/virtualbox/virtualbox-5.0.20.ebuild | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/app-emulation/virtualbox/virtualbox-5.0.16-r1.ebuild b/app-emulation/virtualbox/virtualbox-5.0.16-r1.ebuild index bf4cc33e047b..3d25bf925c82 100644 --- a/app-emulation/virtualbox/virtualbox-5.0.16-r1.ebuild +++ b/app-emulation/virtualbox/virtualbox-5.0.16-r1.ebuild @@ -143,6 +143,10 @@ src_prepare() { # Remove shipped binaries (kBuild,yasm), see bug #232775 rm -r kBuild/bin tools || die + # Remove pointless GCC version limitations in check_gcc() + sed -e "/\s*-o\s*\\\(\s*\$cc_maj\s*-eq\s*[5-9]\s*-a\s*\$cc_min\s*-gt\s*[0-5]\s*\\\)\s*\\\/d" \ + -i configure || die + # Disable things unused or split into separate ebuilds sed -e "s@MY_LIBDIR@$(get_libdir)@" \ "${FILESDIR}"/${PN}-5-localconfig > LocalConfig.kmk || die diff --git a/app-emulation/virtualbox/virtualbox-5.0.20.ebuild b/app-emulation/virtualbox/virtualbox-5.0.20.ebuild index 6b54510865d7..7f3c4a361ecc 100644 --- a/app-emulation/virtualbox/virtualbox-5.0.20.ebuild +++ b/app-emulation/virtualbox/virtualbox-5.0.20.ebuild @@ -143,6 +143,10 @@ src_prepare() { # Remove shipped binaries (kBuild,yasm), see bug #232775 rm -r kBuild/bin tools || die + # Remove pointless GCC version limitations in check_gcc() + sed -e "/\s*-o\s*\\\(\s*\$cc_maj\s*-eq\s*[5-9]\s*-a\s*\$cc_min\s*-gt\s*[0-5]\s*\\\)\s*\\\/d" \ + -i configure || die + # Disable things unused or split into separate ebuilds sed -e "s@MY_LIBDIR@$(get_libdir)@" \ "${FILESDIR}"/${PN}-5-localconfig > LocalConfig.kmk || die |