the line: use ssl && emake nt_password_hash || die "emake nt_password_hash failed" will cause ebuild die if USE=-ssl #USE=-ssl emerge hostapd <snip> !!! ERROR: net-wireless/hostapd-0.5.1 failed. Call stack: ebuild.sh, line 1894: Called dyn_compile ebuild.sh, line 941: Called src_compile !!! emake nt_password_hash failed !!! If you need support, post the topmost build error, and the call stack if relevant.
Fixed in CVS, thank you for reporting this.