--- mplayer-1.0_pre5-r4.ebuild.orig 2004-11-14 10:07:31.000000000 +0900 +++ mplayer-1.0_pre5-r4.ebuild 2004-11-14 14:43:11.875684415 +0900 @@ -86,7 +86,7 @@ LICENSE="GPL-2" #KEYWORDS="~x86 ~ppc ~alpha ~amd64 ~ia64 ~hppa ~sparc" #agriffis - uncomment this when ia64 is ready - Chris -KEYWORDS="~x86 ~ppc ~alpha ~amd64 ~hppa ~sparc" +KEYWORDS="~x86 ~ppc ~alpha ~amd64 ~hppa ~sparc ~ppc64" src_unpack() { @@ -159,6 +159,8 @@ use sparc && sed -i 's:#define __KERNEL__::' osdep/kerneltwosix.h # Doesn't break if bio2jack is in epatch ${FILESDIR}/${P}-bio2jack.patch + + use ppc64 && epatch ${FILESDIR}/${P}-r4-ppc64.patch } linguas_warn() { @@ -380,10 +382,17 @@ myconf="${myconf} $(use_enable mmx)" myconf="${myconf} $(use_enable mmx2)" myconf="${myconf} $(use_enable 3dnow)" - myconf="${myconf} $(use_enable altivec)" myconf="${myconf} $(use_enable debug)" myconf="${myconf} $(use_enable nls i18n)" + if use ppc64 + then + myconf="${myconf} --disable-altivec" + # myconf="${myconf} --enable-big-endian" + else + myconf="${myconf} $(use_enable altivec)" + fi + if use real then if [ -d /usr/$(get_libdir)/real ]