commit:     8f793b9baf94e1bf933697e4eb1a58ff90d34b7a
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 22 08:48:14 2018 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Fri Jun 22 08:48:14 2018 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=8f793b9b

dev-libs/openssl: add back fix for Solaris 10

Package-Manager: Portage-2.3.40.2-prefix, Repoman-2.3.9

 dev-libs/openssl/openssl-1.0.2o-r6.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dev-libs/openssl/openssl-1.0.2o-r6.ebuild 
b/dev-libs/openssl/openssl-1.0.2o-r6.ebuild
index 2b2c728095..e53b9ac004 100644
--- a/dev-libs/openssl/openssl-1.0.2o-r6.ebuild
+++ b/dev-libs/openssl/openssl-1.0.2o-r6.ebuild
@@ -95,6 +95,9 @@ src_prepare() {
 
        eapply_user
 
+       # <=Solaris-10 /bin/sh does not support "[ -e file ]", added by patches
+       sed -e 's/\[ -e /\[ -r /' -i Makefile.shared
+
        # disable fips in the build
        # make sure the man pages are suffixed #302165
        # don't bother building man pages if they're disabled

Reply via email to