Skip to content

Commit

Permalink
erlang: use openssl PG
Browse files Browse the repository at this point in the history
  • Loading branch information
cjones051073 committed Nov 8, 2021
1 parent b4a1f46 commit d09b150
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lang/erlang/Portfile
Expand Up @@ -6,7 +6,7 @@ PortGroup compiler_blacklist_versions 1.0

name erlang
version 23.1
revision 2
revision 3

categories lang erlang
maintainers {ciserlohn @ci42}
Expand Down Expand Up @@ -137,10 +137,11 @@ variant wxwidgets description {Build wxWidgets support} {
}

variant ssl description {Build SSL support} {
PortGroup openssl 1.0
openssl.branch 1.1
configure.args-delete --without-ssl
configure.args-append --with-ssl=${prefix}
configure.args-append --with-ssl=[openssl::install_area]
configure.ldflags-append -lz
depends_lib-append path:lib/libssl.dylib:openssl
}

# HiPE will go away in a future version of erlang so this variant can be removed then.
Expand Down

0 comments on commit d09b150

Please sign in to comment.