--- mplayer-0.90_pre9.ebuild.orig 2002-11-04 23:54:56.000000000 +0100 +++ mplayer-0.90_pre9.ebuild 2002-11-05 00:18:07.000000000 +0100 @@ -166,6 +166,14 @@ && myconf="${myconf} --enable-i18n" \ || myconf="${myconf} --disable-i18n" + REALLIBDIR=$( + test -e /opt/RealPlayer9/Real/Codecs && \ + echo /opt/RealPlayer9/Real/Codecs || ( \ + test -e /opt/RealPlayer8/Codecs && \ + echo /opt/RealPlayer8/Codecs || \ + echo /usr/lib/real \ + ) + # Crashes on start when compiled with most optimizations. # The code have CPU detection code now, with CPU specific # optimizations, so extra should not be needed and is not @@ -177,6 +185,8 @@ --disable-runtime-cpudetection \ --enable-largefiles \ --enable-linux-devfs \ + --enable-real \ + --with-reallibdir=${REALLIBDIR} \ ${myconf} || die # emake borks on fast boxes - Azarah (07 Aug 2002)