--- virtualbox-bin-1.3.8-r1.ebuild.orig 2007-04-21 13:35:30.000000000 +0200 +++ virtualbox-bin-1.3.8-r1.ebuild 2007-05-08 12:46:04.000000000 +0200 @@ -45,6 +45,14 @@ RESTRICT="primaryuri" pkg_setup() { + # The VBoxSDL frontend needs media-libs/libsdl compiled + # with USE flag X enabled (bug #177335) + if ! built_with_use media-libs/libsdl X; then + eerror "media-libs/libsdl was compiled without the \"X\" USE flag enabled." + eerror "Please re-emerge media-libs/libsdl with USE=\"X\"." + die "media-libs/libsdl should be compiled with the \"X\" USE flag." + fi + check_license }