diff options
author | jperkin <jperkin@pkgsrc.org> | 2015-12-11 10:20:13 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2015-12-11 10:20:13 +0000 |
commit | 23cf86943084d6ba8a2808b054afaf0a4417a085 (patch) | |
tree | c64b8eb4856a9ff14adf373ba8a963830f6db4c6 /security | |
parent | bc84d61ca9fa530b718066715a09ee755681da3d (diff) | |
download | pkgsrc-23cf86943084d6ba8a2808b054afaf0a4417a085.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')
-rw-r--r-- | security/openssl/Makefile | 6 |
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" |