pkg/60410: mail/thunderbird: Unknown compiler "cc"; available options: clang emcc gcc icc msvc sunstudio xcode xlc
smurfd <[email protected]> Sat, 1 Aug 2026 22:38:51 +0200
| Newsgroups | gmane.os.netbsd.devel.pkgsrc.bugs |
|---|---|
| Message-ID | <[email protected]> |
Hey
Congrats to 11.0! Sorry to spam this to a few mailinglists. netbsd-user
and pkgsrc-user, but found this,
and not sure if this will be applied to the mailinglist as a reply or if
it will be a standalone mail.
But this will get you further building mail/thunderbird
If the environment variable CC is set, then use that, otherwise find the
path to the binary cc and use that instead.
Ran into some problem with the c++ wrapper later, but i think it might
be related to me not building
much/at all with pkgsrc.
patches/patch-comm_third__party_openpgp.configure
- "--cc={}".format(os.getenv("CC"))
+ "--cc={}".format(if os.getenv("CC") else import shutil;
shutil.which("cc")),
br Nicklas