The pkgsrc/security/openssl/Makefile has: .include "../../mk/compiler.mk" That caused my PKGSRC_COMPILER to be ignored and the .wrapper/gcc and cc to point to wrong compilers. I commented out that include line. Maybe the CC_VERSION isn't set yet? Jeremy C. Reed