I've built Firefox on NetBSD. I wonder how many patches are required for it.
Presumably the use of rust is a dependency that needs fulfilled for building FF. Looks like there has been some work on getting rust to play with Haiku at both the Rust and Haiku ends:
https://github.com/NetBSD/pkgsrc/tree/trunk/www/firefox/patc...