diff --git a/srcpkgs/ffmpeg/template b/srcpkgs/ffmpeg/template index 7e81e99af3e..a3373f20370 100644 --- a/srcpkgs/ffmpeg/template +++ b/srcpkgs/ffmpeg/template @@ -43,6 +43,7 @@ do_configure() { aarch64*) _arch="aarch64";; mips*) _arch="mips";; ppc64*) _arch="ppc64";; + ppc*) _arch="ppc";; *) _arch="${XBPS_TARGET_MACHINE%%-musl}";; esac @@ -52,6 +53,10 @@ do_configure() { --target-os=linux --arch=${_arch}" fi + case "$XBPS_TARGET_MACHINE" in + ppc|ppc-musl) _args+=" --disable-altivec";; + esac + ./configure --prefix=/usr --disable-debug --enable-gpl --enable-gnutls \ --enable-libcdio --enable-version3 --enable-runtime-cpudetect \ --enable-libmp3lame --enable-libvorbis --enable-libxvid \