--- x264-0.0.20100423.ebuild 2010-04-24 17:46:48.000000000 +0200 +++ x264-0.0.20100527.ebuild 2010-05-29 21:11:29.519631358 +0200 @@ -25,7 +25,7 @@ src_prepare() { epatch "${FILESDIR}"/${PN}-nostrip.patch \ - "${FILESDIR}"/${PN}-onlylib-20090408.patch + "${FILESDIR}"/${PN}-onlylib-20100527.patch } src_configure() { @@ -38,13 +38,14 @@ myconf="${myconf} --disable-asm" fi + use threads || myconf="${myconf} --disable-pthread" + ./configure \ --prefix=/usr \ --libdir=/usr/$(get_libdir) \ --disable-avs-input \ --disable-lavf-input \ --disable-mp4-output \ - $(use_enable threads pthread) \ --enable-pic \ --enable-shared \ --extra-asflags="${ASFLAGS}" \