summaryrefslogtreecommitdiff
path: root/security/openssl
diff options
context:
space:
mode:
authorjperkin <jperkin>2015-12-11 10:20:13 +0000
committerjperkin <jperkin>2015-12-11 10:20:13 +0000
commite7a305f6eaeaeb1671331bf0afb3674112dbf25c (patch)
treec64b8eb4856a9ff14adf373ba8a963830f6db4c6 /security/openssl
parent77d07a6e8f4b1ddea43d3b1a983cc7fe49c72481 (diff)
downloadpkgsrc-e7a305f6eaeaeb1671331bf0afb3674112dbf25c.tar.gz
Fix the CC=gcc change differently, previous version didn't actually work
due to the default being set later in the environment.
Diffstat (limited to 'security/openssl')
-rw-r--r--security/openssl/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/security/openssl/Makefile b/security/openssl/Makefile
index 1b525170405..0d159280efb 100644
--- a/security/openssl/Makefile
+++ b/security/openssl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.217 2015/12/08 16:51:33 jperkin Exp $
+# $NetBSD: Makefile,v 1.218 2015/12/11 10:20:13 jperkin Exp $
DISTNAME= openssl-1.0.2e
CATEGORIES= security
@@ -34,8 +34,8 @@ 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
+.if ${PKGSRC_COMPILER} == "gcc" && ${CC} == "cc"
+CC= gcc
.endif
.if ${OPSYS} == "SunOS"