How to determine type of system compiler in port?

Lev Serebryakov lev at FreeBSD.org
Tue Jan 21 22:45:31 UTC 2014


Hello, Ports.

  I want to turn off some clang-specific warnings via CFLAGS, as I'm not
able to patch all places when "dirty" (but valid!) code is used and upstream
software uses "-Werror"...

  I could not find any mentions of "clang" in bsd.port.mk and COMPILER_TYPE
 is not defined for ports.

   Yes, I understand, that it is better to report these errors
 upstream, and, in fact, these warnings were fixed in latest version but I
 need to port previous one!

-- 
// Black Lion AKA Lev Serebryakov <lev at FreeBSD.org>



More information about the freebsd-ports mailing list