At least version 0.5.0 of yasm supports disabling nls with --disable-nls switch. The attached patch applied over that ebuilds add the nls useflag, fixing the dependencies so that virtual/libintl and gettext are brought in when needed (the first in RDEPEND, the second in DEPEND), and disabling it when unneeded. This allows to have an yasm binary that doesn't link to libintl on non-glibc arches. Thanks, Diego
Created attachment 81018 [details, diff] yasm-ebuild.patch
In CVS Diego, thanks!