pkgsrc/mk/defaults/mk.conf. This is from PR 30741 from anonymous AT example.net.
PKGSRC_COMPILER=mipspro if this compiler is used. Otherwise, wrong CFLAGS might be passed. XXX: we probably want to add a check for the proper compiler into the bootstrap process and add this line automatically, if necessary.