svn commit: r448318 - head/security/openssl
Bernard Spil
brnrd at FreeBSD.org
Sat Aug 19 15:11:04 UTC 2017
Author: brnrd
Date: Sat Aug 19 15:11:03 2017
New Revision: 448318
URL: https://svnweb.freebsd.org/changeset/ports/448318
Log:
security/openssl: Fix build on MIPS
- gcc 4.2.1 on MIPS fails on -Werror
PR: 221620
Submitted by: Fukang Chen <loader at FreeBSD.org>
MFH: 2017Q3
Modified:
head/security/openssl/Makefile
Modified: head/security/openssl/Makefile
==============================================================================
--- head/security/openssl/Makefile Sat Aug 19 15:05:25 2017 (r448317)
+++ head/security/openssl/Makefile Sat Aug 19 15:11:03 2017 (r448318)
@@ -57,7 +57,7 @@ SSL2_DESC= SSLv2 protocol support
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,9 +100,11 @@ THREADS_CONFIGURE_OFF= no-threads
ZLIB_CONFIGURE_ON= zlib zlib-dynamic
ZLIB_CONFIGURE_OFF= no-zlib no-zlib-dynamic
-CFLAGS+= -Werror -Qunused-arguments
-
.include <bsd.port.pre.mk>
+
+.if ${CHOSEN_COMPILER_TYPE} != gcc && ${COMPILER_VERSION} != 42
+CFLAGS+= -Werror -Qunused-arguments
+.endif
.if ${PREFIX} == /usr
IGNORE= the OpenSSL port can not be installed over the base version
More information about the svn-ports-all
mailing list