--- /usr/portage/media-video/mplayer/mplayer-9999.ebuild 2010-06-07 01:36:34.000000000 +0400 +++ mplayer-9999.ebuild 2010-06-09 23:22:33.000000000 +0400 @@ -107,7 +107,7 @@ encode? ( !twolame? ( toolame? ( media-sound/toolame ) ) twolame? ( media-sound/twolame ) - faac? ( media-libs/faac ) + faac? ( !bindist? ( media-libs/faac ) ) mp3? ( media-sound/lame ) x264? ( >=media-libs/x264-0.0.20100423 ) xvid? ( media-libs/xvid ) @@ -448,6 +448,12 @@ use ${i} || myconf+=" --disable-${i}" done use faac || myconf+=" --disable-faac-lavc" + if use bindist + then + use faac && ewarn "faac is nonfree and cannot be distributed; + disabling faac support." + myconf+=" --disable-faac --disable-faac-lavc" + fi else myconf+=" --disable-mencoder" myconf+="--disable-faac-lavc"