diff --git a/media-video/mplayer/mplayer-1.0_rc4_p20100504.ebuild b/media-video/mplayer/mplayer-1.0_rc4_p20100504.ebuild index 817b3cb..f15298f 100644 --- a/media-video/mplayer/mplayer-1.0_rc4_p20100504.ebuild +++ b/media-video/mplayer/mplayer-1.0_rc4_p20100504.ebuild @@ -483,14 +483,15 @@ src_configure() { # internal use real || myconf+=" --disable-real" - # Real binary codec support only available on x86, amd64 - if use real; then - use x86 && myconf+=" --codecsdir=/opt/RealPlayer/codecs" - use amd64 && myconf+=" --codecsdir=/usr/$(get_libdir)/codecs" - elif ! use bindist; then - myconf+=" $(use_enable win32codecs win32dll)" + if ! use bindist; then + myconf+=" $(use_enable win32codecs win32dll)" fi + # Real binary codec support only available on x86, amd64 + if [ use real -o use win32codecs ]; then + myconf+=" --codecsdir=/usr/$(get_libdir)/codecs" + fi + ################ # Video Output # ################