<pre style='margin:0'>
Perry E. Metzger (pmetzger) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/05b709b0cb66c692f981b365c650fa721bd310e9">https://github.com/macports/macports-ports/commit/05b709b0cb66c692f981b365c650fa721bd310e9</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 05b709b0cb66c692f981b365c650fa721bd310e9
</span>Author: Kirill A. Korinsky <kirill@korins.ky>
AuthorDate: Wed Aug 23 00:04:35 2023 +0200
<span style='display:block; white-space:pre;color:#404040;'> common_lisp PG: propagate MacPorts home to abcl
</span>---
_resources/port1.0/group/common_lisp-1.0.tcl | 10 ++++++----
lisp/cl-mgl-pax/Portfile | 4 ----
lisp/cl-stefil/Portfile | 4 ----
lisp/cl-swank/Portfile | 4 ----
4 files changed, 6 insertions(+), 16 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/_resources/port1.0/group/common_lisp-1.0.tcl b/_resources/port1.0/group/common_lisp-1.0.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index 791790bdc65..1ec4694748e 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/_resources/port1.0/group/common_lisp-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/_resources/port1.0/group/common_lisp-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -236,11 +236,13 @@ proc common_lisp::clisp_asdf_operate {op name build_system_path} {
</span> }
proc common_lisp::abcl_asdf_operate {op name build_system_path} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- global prefix
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ global prefix workpath
</span> ui_info "Execute asdf:${op} at ${name} by ABCL"
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # cleaner approach is somehow enforce different value to NSHomeDirectory
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- common_lisp::run "env XDG_CACHE_HOME=\$HOME/.cache ${prefix}/bin/abcl --noinit --batch" "--eval" ${op} ${name} ${build_system_path}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # ABCL runs on java and java uses NSHomeDirectory which ignores HOME env
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # here I redefine user-homedir-pathname to use expected home folder everywhere
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # See: https://github.com/armedbear/abcl/issues/614
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ common_lisp::run "${prefix}/bin/abcl --noinit --eval '(defun user-homedir-pathname () #p\"${workpath}/.home/\")'" "--eval" ${op} ${name} ${build_system_path}
</span> }
proc common_lisp::ccl_asdf_operate {op name build_system_path} {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -263,7 +265,7 @@ proc common_lisp::run {lisp eval_arg op name build_system_path} {
</span>
set loadcmd ${lisp}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- append loadcmd " ${eval_arg} '(require \"asdf\")'"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ append loadcmd " ${eval_arg} '(require :asdf)'"
</span> append loadcmd " ${eval_arg} '(setf asdf:*central-registry* (list* (quote *default-pathname-defaults*) ${lisp-build-system-path} ${lisp-system-path} asdf:*central-registry*))'"
append loadcmd " ${eval_arg} '(asdf:operate (quote asdf:${op}) (quote ${name}))'"
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lisp/cl-mgl-pax/Portfile b/lisp/cl-mgl-pax/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 3fbd5d62077..314cb27d3fa 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lisp/cl-mgl-pax/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lisp/cl-mgl-pax/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -51,7 +51,3 @@ subport cl-dref {
</span>
livecheck.type none
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Can't ensure directory #P"/Users/macports/.slime/"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# See: https://github.com/armedbear/abcl/issues/614
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-common_lisp.abcl no
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/lisp/cl-stefil/Portfile b/lisp/cl-stefil/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index d1dd7ad595e..78763011c54 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lisp/cl-stefil/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lisp/cl-stefil/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -28,7 +28,3 @@ depends_lib-append port:cl-alexandria \
</span>
# SBCL comply for styles
common_lisp.sbcl no
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Can't ensure directory #P"/Users/macports/.slime/"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# See: https://github.com/armedbear/abcl/issues/614
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-common_lisp.abcl no
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/lisp/cl-swank/Portfile b/lisp/cl-swank/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 58108e88723..91cd94f8b00 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lisp/cl-swank/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lisp/cl-swank/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -22,7 +22,3 @@ license Permissive
</span> description Swank from SLIME
long_description {*}${description}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Can't ensure directory #P"/Users/macports/.slime/"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# See: https://github.com/armedbear/abcl/issues/614
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-common_lisp.abcl no
</span></pre><pre style='margin:0'>
</pre>