--- mplayer-1.0_pre4-r7.ebuild.org 2004-08-21 10:26:10.000000000 -0400 +++ mplayer-1.0_pre4-r7.ebuild 2004-08-21 10:18:08.000000000 -0400 @@ -311,6 +311,18 @@ make all || die "Failed to build MPlayer!" + #make all does a distclean because configure was run, and that deletes + #the matrox driver, which is not subsequently rebuilt. + if use matrox && use x86; then + check_KV + cd ${S}/drivers + # bad hack, will be fixed later + addwrite ${ROOT}/usr/src/linux/ + unset ARCH + make all || die "Matrox build failed! Your kernel may need to have `make mrproper` run on it before trying to use matrox support in this ebuild again." + cd ${S} + fi + # We build the shared libpostproc.so here so that our # mplayer binary is not linked to it, ensuring that we # do not run into issues ... (bug #14479)