[MacPorts] #63415: p5.28-net-ssleay failed to compile under Monterey (21A5304g)

MacPorts noreply at macports.org
Tue Oct 26 06:58:42 UTC 2021


#63415: p5.28-net-ssleay failed to compile under Monterey (21A5304g)
----------------------------+----------------------
  Reporter:  ilTofa         |      Owner:  (none)
      Type:  defect         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.7.1
Resolution:                 |   Keywords:  monterey
      Port:  p5-net-ssleay  |
----------------------------+----------------------

Comment (by breiter):

 I ran into this problem on the production monterey 12.0.1 when installing
 git. The above solution of setting OPENSSL_PREFIX worked. I used the
 +perl5_32 variant.

 {{{
  diff -u Portfile.ori Portfile
 --- Portfile.ori        2021-10-26 08:48:57.000000000 +0200
 +++ Portfile    2021-10-26 08:52:59.000000000 +0200
 @@ -25,7 +25,7 @@
      depends_lib-append \
                      path:lib/libssl.dylib:openssl

 -    configure.env   OPENSSL_PREFIX=${prefix}
 +    configure.env   OPENSSL_PREFIX=${prefix}/lib/openssl at 1.1

  # clang: error: unknown argument: '-fstack-protector-strong'
      if {[string match *clang* ${configure.compiler}]} {
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/63415#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list