diff options
-rw-r--r-- | security/openssl/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/security/openssl/Makefile b/security/openssl/Makefile index d68e6a5965b..1b525170405 100644 --- a/security/openssl/Makefile +++ b/security/openssl/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.216 2015/12/07 15:57:42 jperkin Exp $ +# $NetBSD: Makefile,v 1.217 2015/12/08 16:51:33 jperkin Exp $ DISTNAME= openssl-1.0.2e CATEGORIES= security @@ -32,6 +32,12 @@ CONFIGURE_ARGS+= --install_prefix=${DESTDIR} CONFIGURE_ARGS+= --openssldir=${PKG_SYSCONFDIR} CONFIGURE_ARGS+= shared no-fips +# Avoid dependency on 'makedepend' on platforms where the default CC is set +# to 'cc' not 'gcc' in boostrap-mk-files. OpenSSL only supports the latter. +.if ${PKGSRC_COMPILER} == "gcc" +CONFIGURE_ENV+= CC=gcc +.endif + .if ${OPSYS} == "SunOS" . if ${MACHINE_ARCH} == "sparc" OPENSSL_MACHINE_ARCH= ${SPARC_TARGET_ARCH} |