--- libast-0.6.1.ebuild.orig 2005-03-08 14:57:30.000000000 +0100 +++ libast-0.6.1.ebuild 2005-03-08 15:21:49.000000000 +0100 @@ -20,10 +20,17 @@ src_compile() { local myregexp="posix" + local mymmx="" use pcre && myregexp="pcre" + if use amd64; then + mymmx="--enable-mmx" + else + mymmx=`use_enable mmx` + fi + econf \ $(use_with imlib) \ - $(use_enable mmx) \ + ${mymmx} \ --with-regexp=${myregexp} \ || die emake || die