I think need dev-lang/yasm for compile to be successful. Reproducible: Always Steps to Reproduce: 1. emerge x264 2. 3. Actual Results: >>> Emerging (1 of 1) media-libs/x264-0.0.20120707 * x264-snapshot-20120707-2245.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...[ ok ] >>> Unpacking source... >>> Unpacking x264-snapshot-20120707-2245.tar.bz2 to /var/tmp/portage/media-libs/x264-0.0.20120707/work >>> Source unpacked in /var/tmp/portage/media-libs/x264-0.0.20120707/work >>> Preparing source in /var/tmp/portage/media-libs/x264-0.0.20120707/work/x264-snapshot-20120707-2245 ... * Applying x264-x32.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/media-libs/x264-0.0.20120707/work/x264-snapshot-20120707-2245 ... ./configure: [[: not found ./configure: freebsd9.1: not found ./configure: [[: not found Found no assembler Minimum version is yasm-1.0.0 If you really want to compile without asm, configure with --disable-asm.
Created attachment 337588 [details, diff] patch for x264-{0.0.20120707,9999}.ebuild
dep added to 0707 and 9999