Skip to content
Browse files

openssl: upgrade process

  • Loading branch information...
1 parent a016d45 commit 884209f51224fd08e075f358e1c0403bee59ffbb @mpapis mpapis committed Nov 26, 2011
Showing with 14 additions and 6 deletions.
  1. +14 −6 openssl/shell/functions
View
20 openssl/shell/functions
@@ -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[@]}"
}

0 comments on commit 884209f

Please sign in to comment.
Something went wrong with that request. Please try again.