Index: Makefile =================================================================== --- Makefile (revision 448207) +++ Makefile (working copy) @@ -57,7 +57,7 @@ SSL3_DESC= SSLv3 protocol support ZLIB_DESC= zlib compression support -USES= cpe perl5 +USES= compiler cpe perl5 USE_PERL5= build MAKE_ARGS+= WHOLE_ARCHIVE_FLAG=--whole-archive MAKE_ENV+= LIBRPATH="${PREFIX}/lib" GREP_OPTIONS= @@ -100,10 +100,12 @@ ZLIB_CONFIGURE_ON= zlib zlib-dynamic ZLIB_CONFIGURE_OFF= no-zlib no-zlib-dynamic +.include + +.if ${CHOSEN_COMPILER_TYPE} != gcc && ${COMPILER_VERSION} != 42 CFLAGS+= -Werror -Qunused-arguments +.endif -.include - .if ${PREFIX} == /usr IGNORE= the OpenSSL port can not be installed over the base version .endif