Subject: CVS commit: pkgsrc/www/firefox78
From: Nia Alarie
Date: 2020-11-11 20:10:06
Message id: 20201111191006.2A6F7FB28@cvs.NetBSD.org

Log Message:
firefox78: Honor user's compiler choice again, don't require Python 2.

The python 2 dependency was seemingly removed in Firefox 78.0 so we
can remove those old hacks.

Firefox needs clang for some unknown part of the build process (rust
related?), even if building with GCC.

The previous solution in pkgsrc was to force the use of clang, because
pkgsrc provides cwrappers which provided gcc-as-clang, which broke
everything. Instead, override the clang wrapper with the actual clang
executable.

This means the majority of the build happens with GCC (or ccache, distcc,
whatever the user chooses, rather than overriding it with clang). Should help
sparc64, where clang doesn't work too well.

Full build tested on NetBSD/amd64.

Files:
RevisionActionfile
1.11modifypkgsrc/www/firefox78/Makefile
1.4modifypkgsrc/www/firefox78/mozilla-common.mk