diff options
author | Andreas Sturmlechner <andreas.sturmlechner@gmail.com> | 2016-06-11 20:02:20 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2016-06-13 16:23:18 +0200 |
commit | f83513963afe06880885c2def91b267ccb6bc4e7 (patch) | |
tree | 350473b1c387e23d02b35dde37a0aeb953f77377 /app-emulation/virtualbox | |
parent | sys-apps/pcsc-lite-1.8.16-r1: add alpha keyword (diff) | |
download | gentoo-f83513963afe06880885c2def91b267ccb6bc4e7.tar.gz gentoo-f83513963afe06880885c2def91b267ccb6bc4e7.tar.bz2 gentoo-f83513963afe06880885c2def91b267ccb6bc4e7.zip |
app-emulation/virtualbox: Remove pointless GCC limitations
Fixes configure w/ >=GCC-5.4 and >=GCC-6.1
Package-Manager: portage-2.2.28
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'app-emulation/virtualbox')
-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 |