pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/openssl security/openssl: fix build on Solaris



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b0537c500446
branches:  trunk
changeset: 411384:b0537c500446
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Tue Feb 11 17:23:11 2020 +0000

description:
security/openssl: fix build on Solaris

This fixes PR pkg/54894.

diffstat:

 security/openssl/Makefile |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r 81ecde820aa5 -r b0537c500446 security/openssl/Makefile
--- a/security/openssl/Makefile Tue Feb 11 17:21:26 2020 +0000
+++ b/security/openssl/Makefile Tue Feb 11 17:23:11 2020 +0000
@@ -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 @@
 
 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



Home | Main Index | Thread Index | Old Index