manually mark a port as installed

Hello all,
I am attempting to build firefox on ARM64. As you may know, this is problematic on account of Rust (a dependency of Firefox) being broken on aarch64. However, thanks to the efforts of the rust port team, there are some binary versions of Rust I want to try out and see if firefox can be built utilizing these binaries. However, although all the necessary binaries are in place, the build fails due to make believing that Rust is not installed (since it wasn't installed via pkg nor port/make) and thus tries to build rust and fails due to Rust being marked as broken on aarch64...

I suspect this can be overcome by manually marking Rust as installed somehow, but I am not familiar enough with the ports utilities to know how to do this. Any help would be greatly appreciated!
 
Perfect! That's precisely what I was trying to put together. Still want to see if I can reproduce the entire build process but the fact it's been done gives me confidence.

This is the bug I was going to link: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228892
I know there's not an official rust port team but there seems to be a group of knowledgeable volunteers working diligently on bringing us Rust on FreeBSD. Also do you have any idea when that referenced commit is going to land in the mainstream? My organization seems to really want firefox on aarch64 FreeBSD, but obviously we can't be building stuff on -current

Thanks for the help!
 
Back
Top