The newest version of Erlang fails on AMD64 with
cd erts/emulator &&
ERL_TOP=/var/tmp/paludis/dev-lang/erlang-11.2.3/work/otp_src_R11B-3 make
generate depend
make[1]: Entering directory
`/var/tmp/paludis/dev-lang/erlang-11.2.3/work/otp_src_R11B-3/erts/emulator'
make -f x86_64-unknown-linux-gnu/Makefile generate
make[2]: Entering directory
`/var/tmp/paludis/dev-lang/erlang-11.2.3/work/otp_src_R11B-3/erts/emulator'
make[2]: x86_64-unknown-linux-gnu/Makefile: No such file or directory
make[2]: *** No rule to make target `x86_64-unknown-linux-gnu/Makefile'. Stop.
make[2]: Leaving directory
`/var/tmp/paludis/dev-lang/erlang-11.2.3/work/otp_src_R11B-3/erts/emulator'
make[1]: *** [generate] Error 2
make[1]: Leaving directory
`/var/tmp/paludis/dev-lang/erlang-11.2.3/work/otp_src_R11B-3/erts/emulator'
make: *** [depend] Error 2
(note, "unknown" instead of "pc"). Adding back the
epatch "${FILESDIR}/${PN}-10.2.6-export-TARGET.patch"
line from the previous ebuild fixes it.