Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

openssl: upgrade process

  • Loading branch information...
commit 884209f51224fd08e075f358e1c0403bee59ffbb 1 parent a016d45
Michal Papis mpapis authored
Showing with 14 additions and 6 deletions.
  1. +14 −6 openssl/shell/functions
20 openssl/shell/functions
View
@@ -1,11 +1,19 @@
#!/bin/sh
-openssl_configure()
+openssl_preconfigure()
{
- if (( ${static_flag:-0} == 1 ))
- then
- ./config --prefix="${install_path}" ${configure_flags[@]} > configure.log 2>&1
- else
- ./config --prefix="${install_path}" ${configure_flags[@]} shared > configure.log 2>&1
+ typeset -gx configure_command
+
+ if os is darwin && os arch type is x86_64
+ then configure_command="./Configure darwin64-x86_64-cc"
+ else configure_command="./config"
fi
+
+ __sm.package.configure.flag "--prefix" "${install_path}"
+
+ if (( ${static_flag:-0} == 0 ))
+ then configure_flags+=( shared )
+ fi
+
+ configure_command+="${configure_flags[@]}"
}
Please sign in to comment.
Something went wrong with that request. Please try again.