<pre style='margin:0'>
Herby Gillot (herbygillot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/32a7ae7c7a1d626242c644f551e452eae1fa225b">https://github.com/macports/macports-ports/commit/32a7ae7c7a1d626242c644f551e452eae1fa225b</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 32a7ae7c7a1 ccl: restore PPC support
</span>32a7ae7c7a1 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 32a7ae7c7a1d626242c644f551e452eae1fa225b
</span>Author: Sergey Fedorov <vital.had@gmail.com>
AuthorDate: Wed Oct 19 18:06:44 2022 +0800
<span style='display:block; white-space:pre;color:#404040;'> ccl: restore PPC support
</span>---
lang/ccl/Portfile | 159 ++++++++++++++++++++++++++++++++++++------------------
1 file changed, 107 insertions(+), 52 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/ccl/Portfile b/lang/ccl/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index b3febf11ca5..8f315799954 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/ccl/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/ccl/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,41 +1,65 @@
</span> # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
<span style='display:block; white-space:pre;background:#ffe0e0;'>-PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup github 1.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup Clozure ccl 1.12.1 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name ccl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories lang
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license Apache-2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {easieste @easye} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+supported_archs x86_64 ppc ppc64
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description The Clozure Common Lisp Implementation
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description Clozure CL is an open source Common Lisp implementation. \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Clozure CL used to be called OpenMCL. It is also sometimes \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ called CCL. You will see the three names being used interchangeably.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://github.com/Clozure/ccl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platform darwin i386 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PortGroup github 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ github.setup Clozure ccl 1.12.1 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums ${name}-${version}${extract.suffix} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 549ca42bde4390f3735b069b279f8e469afe1125 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 9e369fe0e7983eca68b9a33c68568ec4e16c3d56ac6a801c1e2d9dc758c48aa1 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 5017255
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ dist_subdir ${name}/${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ worksrcdir ccl-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-name ccl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-dist_subdir ${name}/${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Pegged, do not update:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platform darwin powerpc {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.major} > 8} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ version 1.6
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set shortversion ${version}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-categories lang
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-license Apache-2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-maintainers {easieste @easye} openmaintainer
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-supported_archs x86_64
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-description The Clozure Common Lisp Implementation
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-long_description \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- Clozure CL is an open source Common Lisp implementation. \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- Clozure CL used to be called OpenMCL. It is also sometimes \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- called CCL. You will see the three names being used interchangeably.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums ${name}-${version}-darwinppc${extract.suffix} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 8ec32a06899c7a0687221257561dabf4cff23626 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 563ed539c588df6137612f957d66554c6e453b1b17adc14d2c1773b395732e43 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 124226791
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ version 1.4
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage https://github.com/Clozure/ccl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums ${name}-${version}-darwinppc${extract.suffix} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 be383bbbaa002cae14ad8c2faffa407f687a6a4e \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 6033422accffe8ab2d4d176f3673da48afd35408e9675c6594d775037e5c26bf \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 71167804
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ master_sites https://ccl.clozure.com/ftp/pub/release/${version}/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ distname ${name}-${version}-darwinppc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ worksrcdir ccl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums ${name}-${version}${extract.suffix} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 549ca42bde4390f3735b069b279f8e469afe1125 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 9e369fe0e7983eca68b9a33c68568ec4e16c3d56ac6a801c1e2d9dc758c48aa1 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 5017255
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set shortversion ${version}
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-worksrcdir ccl-${version}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-use_configure no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+use_configure no
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-compiler.whitelist macports-clang-9.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platform darwin i386 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ compiler.whitelist macports-clang-9.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span>
platform darwin {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- global bootimg
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ global bootimg
</span> global ccl_script
if { ${configure.build_arch} eq "x86_64" } {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -49,6 +73,12 @@ platform darwin {
</span> extract.only-delete darwinx86${extract.suffix}
set bootimg dx86cl64
set ccl_script ccl64
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ } elseif { ${configure.build_arch} == "ppc64" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set bootimg dppccl64
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set ccl_script ccl64
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } elseif { ${configure.build_arch} == "ppc" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set bootimg dppccl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set ccl_script ccl
</span> } else {
pre-fetch {
return -code error "architecture ${configure.build_arch} has not been ported to ${name}"
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -57,37 +87,62 @@ platform darwin {
</span> }
post-extract {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- system "cd ${worksrcpath} && tar -x -f ${distpath}/darwinx86${extract.suffix}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${configure.build_arch} eq "x86_64" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "cd ${worksrcpath} && tar -x -f ${distpath}/darwinx86${extract.suffix}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
build {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- system "cd ${worksrcpath}/lisp-kernel/darwinx8664 && make clean && make"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- system "cd ${worksrcpath} && echo '(ccl::rebuild-ccl :clean t)' | ./${bootimg} --batch"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # FIXME: doc target no longer exists with ccl-1.11
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Generating the manual would involve using ccl with Quicklisp to
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # run <https://github.com/Clozure/ccldoc>.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${configure.build_arch} eq "x86_64" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "cd ${worksrcpath}/lisp-kernel/darwinx8664 && make clean && make"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "cd ${worksrcpath} && echo '(ccl::rebuild-ccl :clean t)' | ./${bootimg} --batch"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # FIXME: doc target no longer exists with ccl-1.11
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Generating the manual would involve using ccl with Quicklisp to run.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # https://github.com/Clozure/ccldoc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # PPC:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "cd ${worksrcpath} && echo '(ccl::rebuild-ccl :full t)' | ./${bootimg} --batch"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
set prefixpath \\\"[regsub -all / [strsed ${prefix}/share/asdf-install {g/^\///}] "\\\" \\\""]\\\"
destroot {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- set install_root ${prefix}/share/${name}/${shortversion}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set stage_root ${destroot}${install_root}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- file mkdir ${stage_root}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- system "cd ${worksrcpath} && tar -c -f - . | ( cd ${stage_root} && tar -x -f -)"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set ccl_wrapper ${worksrcpath}/scripts/${ccl_script}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|/usr/local/src/ccl|${install_root}|" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${ccl_wrapper}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- system "chmod +x ${ccl_wrapper}"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- file copy ${ccl_wrapper} ${destroot}${prefix}/bin
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -d ${destroot}${prefix}/share/doc/${name}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -d ${destroot}${prefix}/share/examples
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 644 -W ${worksrcpath}/doc \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- release-notes-1.1.txt release-notes-1.2.txt release-notes.txt \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- compiler-changes-in-CCL-1.12-trunk.pdf \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${destroot}${prefix}/share/doc/${name}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- file copy ${worksrcpath}/examples ${destroot}${prefix}/share/examples/${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${configure.build_arch} eq "x86_64" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set install_root ${prefix}/share/${name}/${shortversion}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set stage_root ${destroot}${install_root}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file mkdir ${stage_root}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "cd ${worksrcpath} && tar -c -f - . | (cd ${stage_root} && tar -x -f -)"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set ccl_wrapper ${worksrcpath}/scripts/${ccl_script}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|/usr/local/src/ccl|${install_root}|" ${ccl_wrapper}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "chmod +x ${ccl_wrapper}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file copy ${ccl_wrapper} ${destroot}${prefix}/bin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d ${destroot}${prefix}/share/doc/${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d ${destroot}${prefix}/share/examples
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 644 -W ${worksrcpath}/doc \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ release-notes-1.1.txt release-notes-1.2.txt release-notes.txt \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ compiler-changes-in-CCL-1.12-trunk.pdf \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/share/doc/${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file copy ${worksrcpath}/examples ${destroot}${prefix}/share/examples/${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # PPC:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file mkdir ${destroot}${prefix}/share/${name}/${shortversion}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "cd ${worksrcpath} && tar cf - . | (cd ${destroot}${prefix}/share/${name}/${shortversion} && tar xf -)"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|/usr/local/src/ccl|${prefix}/share/${name}/${shortversion}|" ${workpath}/ccl/scripts/${ccl_script}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "chmod +x ${workpath}/ccl/scripts/${ccl_script}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file copy ${workpath}/ccl/scripts/${ccl_script} ${destroot}${prefix}/bin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|\"usr\" \"local\" \"asdf-install\")))))|${prefixpath})))))|" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/share/${name}/${shortversion}/tools/asdf-install/installer.lisp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
<span style='display:block; white-space:pre;background:#e0ffe0;'>+post-activate {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${configure.build_arch} in [list ppc ppc64] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Prepare asdf install folders and so forth.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file mkdir ${prefix}/share/asdf-install
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "chgrp admin ${prefix}/share/asdf-install"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "chmod g+w ${prefix}/share/asdf-install"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span></pre><pre style='margin:0'>
</pre>