app-emulation/virtualbox: Attempt to fix build on amd64 no_multilib
authorLars Wendler <polynomial-c@gentoo.org>
Fri, 13 Dec 2019 19:16:36 +0000 (20:16 +0100)
committerLars Wendler <polynomial-c@gentoo.org>
Fri, 13 Dec 2019 19:17:12 +0000 (20:17 +0100)
Seems like I accidentally dropped some ebuild code in 6.1.0_rc1 that
should not have been dropped.

Thanks-to: Zdravko Spoljar <zdravko.spoljar@styria-it.hr>
Bug: https://bugs.gentoo.org/702674
Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
app-emulation/virtualbox/virtualbox-6.1.0.ebuild

index 3845fd83fd926ebe1c2692a9c7029b797759bff7..59459515f5a9ed5eb0cfed6601c36219af3a5a24 100644 (file)
@@ -244,6 +244,9 @@ src_configure() {
                        --disable-opengl
                )
        fi
+       if use amd64 && ! has_multilib_profile ; then
+               myconf+=( --disable-vmmraw )
+       fi
        # not an autoconf script
        doecho ./configure ${myconf[@]}
 }