diff options
author | rillig <rillig@pkgsrc.org> | 2020-02-11 17:23:11 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2020-02-11 17:23:11 +0000 |
commit | ba8328dd14c3204de57363038e437cf34f414c78 (patch) | |
tree | 056896c95033cb3de961cb8c4ff2b16c27de4533 | |
parent | 675930e55f1177b05d89d7fd36a501e087ec6ec3 (diff) | |
download | pkgsrc-ba8328dd14c3204de57363038e437cf34f414c78.tar.gz |
security/openssl: fix build on Solaris
This fixes PR pkg/54894.
-rw-r--r-- | security/openssl/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/security/openssl/Makefile b/security/openssl/Makefile index dd810b28921..2ee05995169 100644 --- a/security/openssl/Makefile +++ b/security/openssl/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.251 2020/02/11 09:58:50 jperkin Exp $ +# $NetBSD: Makefile,v 1.252 2020/02/11 17:23:11 rillig Exp $ DISTNAME= openssl-1.1.1d PKGREVISION= 2 @@ -61,6 +61,14 @@ PLIST_SUBST+= SOEXT=${SOEXT} PRINT_PLIST_AWK+= /^lib\/engines/ { gsub(/\.${SOEXT}$$/, ".$${SOEXT}"); } +# Remove CC from the environment, to fix GCC version handling on HP-UX, +# SunOS and Linux/sparc. +# +# See https://github.com/openssl/openssl/issues/11060. +do-configure: + ${RUN} cd ${WRKSRC} && ${SETENV} ${_CONFIGURE_SCRIPT_ENV:NCC=} \ + ${CONFIG_SHELL} ${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS} + # # Get rid of ridiculous namespace collisions like passwd.1 and just leave the # openssl-*.1 style variants. On a more practical note this avoids creating |