[MacPorts] #63806: sbcl @2.1.10 +fancy: Cannot build on macOS 12.0.1 with Xcode 13.1

MacPorts noreply at macports.org
Wed Jan 12 17:39:48 UTC 2022


#63806: sbcl @2.1.10 +fancy: Cannot build on macOS 12.0.1 with Xcode 13.1
------------------------------+----------------------
  Reporter:  foretspaisibles  |      Owner:  easye
      Type:  defect           |     Status:  assigned
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:
Resolution:                   |   Keywords:  monterey
      Port:  sbcl             |
------------------------------+----------------------

Comment (by jxy):

 I used ecl to bootstrap.  I guess we could opt for other compatible common
 lisp too.


 {{{
 --- Portfile~   2022-01-12 11:38:01.000000000 -0600
 +++ Portfile    2022-01-12 11:01:30.000000000 -0600
 @@ -54,7 +54,7 @@
  # maintainer does not have systems on which to test such things.
  # However, if someone does come up with a way to support powerpc,
  # duplicating the "if" here would be the way to do it.
 -if {${build_arch} eq "x86_64"} {
 +if {${build_arch} eq "x86_64" && ![variant_isset ecl]} {
      set bootversion 1.2.11
      master_sites-append
 sourceforge:project/sbcl/sbcl/${bootversion}:sbcl_amd64
      distfiles-append    ${name}-${bootversion}-x86-64-darwin-
 binary${extract.suffix}:sbcl_amd64
 @@ -144,6 +144,12 @@
      set make_sh_options --fancy
  }

 +variant ecl description {Uses ECL to boostrap SBCL.} {
 +    depends_build-append bin:ecl:ecl
 +    global host_lisp
 +    set host_lisp "${prefix}/bin/ecl"
 +}
 +
  test.run        yes
  test.dir        ${worksrcpath}/tests
  test.cmd        CC=${configure.cc} CXX=${configure.cxx}
 CPP=${configure.cpp} sh
 }}}

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


More information about the macports-tickets mailing list