Skip to content

Commit

Permalink
openssl: upgrade process
Browse files Browse the repository at this point in the history
  • Loading branch information
mpapis committed Nov 26, 2011
1 parent a016d45 commit 884209f
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions 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.