pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/openssl openssl: Handle i386 SunOS.
details: https://anonhg.NetBSD.org/pkgsrc/rev/bc05ee0d4508
branches: trunk
changeset: 423129:bc05ee0d4508
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Tue Feb 11 09:58:50 2020 +0000
description:
openssl: Handle i386 SunOS.
The OpenSSL config script isn't clever enough to detect multiarch platforms so
we need to manually specify the host OS.
diffstat:
security/openssl/Makefile | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
diffs (27 lines):
diff -r 64f30a6d89a2 -r bc05ee0d4508 security/openssl/Makefile
--- a/security/openssl/Makefile Tue Feb 11 08:01:32 2020 +0000
+++ b/security/openssl/Makefile Tue Feb 11 09:58:50 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.250 2020/01/18 21:48:23 jperkin Exp $
+# $NetBSD: Makefile,v 1.251 2020/02/11 09:58:50 jperkin Exp $
DISTNAME= openssl-1.1.1d
PKGREVISION= 2
@@ -27,6 +27,17 @@
CONFIGURE_ARGS+= ${CFLAGS} ${LDFLAGS}
CONFIGURE_ENV+= PERL=${PERL5:Q}
+# If the config script cannot guess the host system correctly then we need to
+# specify it manually and call the Configure script directly.
+OPENSSL_HOST.SunOS-i386= solaris-x86-gcc
+OPENSSL_HOST.SunOS-x86_64= solaris64-x86-gcc
+
+.if defined(OPENSSL_HOST.${OPSYS}-${MACHINE_ARCH})
+CONFIG_SHELL= ${PERL5}
+CONFIGURE_SCRIPT= ./Configure
+CONFIGURE_ARGS+= ${OPENSSL_HOST.${OPSYS}-${MACHINE_ARCH}}
+.endif
+
PKGCONFIG_OVERRIDE+= libcrypto.pc libssl.pc openssl.pc
PKGCONFIG_OVERRIDE_STAGE= post-build
Home |
Main Index |
Thread Index |
Old Index