| 112 | # OpenSSL 0.9.8 has issues with large uploads and apache, use 0.9.7 |
| 113 | variant openssl97 { |
| 114 | pre-configure { |
| 115 | if {![catch {registry_active openssl}]} { |
| 116 | ui_msg "WARNING: You must temporarily disable the openssl port in order to" |
| 117 | ui_msg " build with openssl97. Issue the following command as root:" |
| 118 | ui_msg " bash# port deactivate openssl" |
| 119 | ui_msg " (don't forget to re-activate it once apache2 is installed)" |
| 120 | } |
| 121 | } |
| 122 | |
| 123 | depends_lib-delete port:openssl |
| 124 | depends_lib-append port:openssl97 |
| 125 | configure.args-delete --with-ssl=${prefix} |
| 126 | configure.args-append --with-ssl=${prefix}/lib/openssl97 |
| 127 | } |
| 128 | |